head	1.29;
access;
symbols
	RELEASE_8_3_0:1.28
	RELEASE_9_0_0:1.28
	RELEASE_7_4_0:1.28
	RELEASE_8_2_0:1.28
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.28
	RELEASE_7_3_0:1.28
	RELEASE_8_0_0:1.28
	RELEASE_7_2_0:1.28
	RELEASE_7_1_0:1.28
	RELEASE_6_4_0:1.28
	RELEASE_5_EOL:1.28
	RELEASE_7_0_0:1.28
	RELEASE_6_3_0:1.28
	PRE_XORG_7:1.28
	RELEASE_4_EOL:1.27
	RELEASE_6_2_0:1.27
	RELEASE_6_1_0:1.26
	RELEASE_5_5_0:1.26
	RELEASE_6_0_0:1.23
	RELEASE_5_4_0:1.23
	RELEASE_4_11_0:1.22
	RELEASE_5_3_0:1.21
	RELEASE_4_10_0:1.21
	RELEASE_5_2_1:1.20
	RELEASE_5_2_0:1.20
	RELEASE_4_9_0:1.20
	RELEASE_5_1_0:1.19
	RELEASE_4_8_0:1.17
	RELEASE_5_0_0:1.16
	RELEASE_4_7_0:1.16
	RELEASE_4_6_2:1.12
	RELEASE_4_6_1:1.12
	RELEASE_4_6_0:1.12
	RELEASE_5_0_DP1:1.11
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1;
locks; strict;
comment	@# @;


1.29
date	2012.11.17.06.02.28;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2007.04.10.10.02.58;	author erwin;	state Exp;
branches;
next	1.27;

1.27
date	2006.05.13.04.41.07;	author edwin;	state Exp;
branches;
next	1.26;

1.26
date	2006.03.07.08.27.44;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2005.10.18.11.28.48;	author erwin;	state Exp;
branches;
next	1.24;

1.24
date	2005.10.05.13.39.20;	author erwin;	state Exp;
branches;
next	1.23;

1.23
date	2005.01.11.08.21.16;	author erwin;	state Exp;
branches;
next	1.22;

1.22
date	2004.10.13.18.24.35;	author erwin;	state Exp;
branches;
next	1.21;

1.21
date	2004.02.04.05.09.23;	author marcus;	state Exp;
branches;
next	1.20;

1.20
date	2003.06.12.16.41.12;	author erwin;	state Exp;
branches;
next	1.19;

1.19
date	2003.05.03.05.18.06;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2003.04.20.19.46.55;	author marcus;	state Exp;
branches;
next	1.17;

1.17
date	2003.02.21.14.01.12;	author knu;	state Exp;
branches;
next	1.16;

1.16
date	2002.09.02.20.07.10;	author perky;	state Exp;
branches;
next	1.15;

1.15
date	2002.09.01.15.31.28;	author lioux;	state Exp;
branches;
next	1.14;

1.14
date	2002.06.21.16.17.17;	author ijliao;	state Exp;
branches;
next	1.13;

1.13
date	2002.06.10.20.22.41;	author pat;	state Exp;
branches;
next	1.12;

1.12
date	2002.05.02.22.59.46;	author pat;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.31.18.09.54;	author pat;	state Exp;
branches;
next	1.10;

1.10
date	2002.03.25.12.31.06;	author ijliao;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.24.00.25.07;	author petef;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.10.19.46.47;	author sf;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.26.14.58.16;	author kevlo;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.21.22.55.57;	author will;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.21.09.07.50;	author will;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.29.22.57.58;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	2000.10.29.22.36.50;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	2000.10.05.06.47.40;	author reg;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.29.20.05.44;	author will;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Switch exporter over
@
text
@# New ports collection makefile for:	asp2php
# Date created:				Thu 29 Jun 2000
# Whom:					will
#
# $FreeBSD: head/www/asp2php/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	asp2php
PORTVERSION=	0.76.26
CATEGORIES=	www
MASTER_SITES=	http://downloads.mikekohn.net/asp2php/

MAINTAINER=	erwin@@FreeBSD.org
COMMENT=	Converts ASP scripts to PHP

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}/src

WANT_GNOME=	yes
MAKE_ENV=	FLAGS="${CFLAGS}"

PLIST_FILES=	bin/asp2php

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOME+=	gtk12
PKGNAMESUFFIX=	-gtk
ALL_TARGET=	default gui
PLIST_FILES+=	bin/gtkasp2php
HAVE_GTK=	yes
.else
ALL_TARGET=	default
.endif

post-patch:
	@@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
		's|^CC=|#CC=|g ; \
		 s| make| \$$\{MAKE\}|g ; \
		 s|`gtk-config|`\$$\{GTK_CONFIG\}|g'

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/asp2php ${PREFIX}/bin
.if defined(HAVE_GTK)
	${INSTALL_PROGRAM} ${WRKSRC}/gtkasp2php ${PREFIX}/bin
.endif

.include <bsd.port.post.mk>
@


1.28
log
@Update to 0.76.26
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.27
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d9 1
a9 2
PORTVERSION=	0.76.25
PORTREVISION=	1
@


1.26
log
@Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.

Discussed with:	kris
Approved by:	portmgr (implicit)
@
text
@a20 1
USE_REINPLACE=	yes
@


1.25
log
@Update to 0.76.25
@
text
@d10 1
@


1.24
log
@Update to 0.76.24
@
text
@d9 1
a9 1
PORTVERSION=	0.76.24
@


1.23
log
@Update to 0.76.23

Submitted by:	Anish Mistry <mistry.7@@osu.edu>
@
text
@d9 1
a9 1
PORTVERSION=	0.76.23
@


1.22
log
@- Update to 0.76.22
- Use PLIST

PR:		71885
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.76.22
@


1.21
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	0.76.17
PORTREVISION=	1
d11 1
a11 2
MASTER_SITES=	http://www.mikekohn.com/asp2php/ \
		http://dl.droso.net/ports/
d22 2
d30 1
a30 1
PLIST_SUB+=	WANT_GTK=""
a33 1
PLIST_SUB+=	WANT_GTK="@@comment "
@


1.20
log
@Change to my FreeBSD.org address
@
text
@d10 1
@


1.19
log
@maintainer-update www/asp2php to 0.76.17

	udpate to 0.76.17

PR:		ports/51213
Submitted by:	Erwin Lansing <erwin@@lansing.dk>
@
text
@d14 1
a14 1
MAINTAINER=	erwin@@lansing.dk
@


1.18
log
@Remove USE_GNOMENG.
@
text
@d9 1
a9 1
PORTVERSION=	0.76.13
d11 1
a11 1
MASTER_SITES=	http://65.108.58.129/asp2php/ \
d30 1
@


1.17
log
@De-pkg-comment.
@
text
@a18 1
USE_GNOMENG=	yes
@


1.16
log
@Update to 0.76.13

PR:		42321
Submitted by:	maintainer
@
text
@d15 1
@


1.15
log
@Deploy USE_GNOMENG infrastructure

PR:		42289
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.76.10
d11 2
a12 1
MASTER_SITES=	http://65.108.58.129/asp2php/
@


1.14
log
@${PERL} -> ${REINPLACE_CMD}

PR:		39587, 39589, 39590
Submitted by:	maintainer
@
text
@d17 2
a18 1
WANT_GTK=	yes
d24 3
a26 2
.if defined(HAVE_GTK)
USE_GTK=	yes
@


1.13
log
@- Update to 0.76.10
- Give maintainership to submitter

PR:		39118
Submitted by:	Erwin Lansing <erwin@@lansing.dk>
@
text
@d19 1
d33 1
a33 1
	@@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${PERL} -pi -e \
@


1.12
log
@Update to 0.76.5

PR:		37690
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.76.5
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.11
log
@Update to 0.76.4a

PR:		36586
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.76.4a
d11 1
a11 1
MASTER_SITES=	http://home.i1.net/~naken/asp2php/
d32 4
a35 2
	@@${PERL} -pi -e 's|^CC=|#CC=|g ; \
		 s|`gtk-config|`\$$\{GTK_CONFIG\}|g' ${WRKSRC}/Makefile
@


1.10
log
@upgrade to 0.76.3

PR:		36296
Submitted by:	Ports Fury
@
text
@d9 1
a9 1
PORTVERSION=	0.76.3
d15 1
a15 1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
@


1.9
log
@Don't clobber the system strcasestr().

Submitted by:	bento
@
text
@d9 1
a9 1
PORTVERSION=	0.75.12
a11 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
d15 1
a15 1
WRKSRC=		${WRKDIR}/${DISTNAME}
d18 1
d24 1
a24 2
ALL_TARGET=	all gtkasp2php
INSTALL_TARGET=	install install-gtk
d27 1
d32 2
a33 2
	@@${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/functions.h \
		${WRKSRC}/general.c
d35 5
a39 2
pre-build:
	${PERL} -pi -e "s:gtk-config:${GTK_CONFIG}:g" ${WRKSRC}/Makefile
@


1.8
log
@update to 0.75.12.

PR:		25440
Submitted by:	George Reid <greid@@ukug.uk.freebsd.org>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.7 2000/12/26 14:58:16 kevlo Exp $
d30 4
@


1.7
log
@Update MASTER_SITES.
Note that David didn't fix it correctly.

PR: 23852
Submitted by: David W. Chapman Jr. <dwcjr@@inethouston.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.6 2000/12/21 22:55:57 will Exp $
d9 1
a9 1
PORTVERSION=	0.75.11
@


1.6
log
@Fix broken MASTER_SITES.  While I'm here, take pity on asp2php's Makefile
and infuse new blood into it using the magic of bsd.prog.mk.  Also make a
separate install-gtk target as David Chapman tried to do in his PR (which
I committed recently).

PR:		23721
Submitted by:	George Reid <greid@@dogma.freebsd-uk.eu.org>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.5 2000/12/21 09:07:50 will Exp $
d11 1
a11 1
MASTER_SITES=	http://www.naken.cc/asp2php/
@


1.5
log
@Update to 0.75.11.  Fix PLIST, use ${GTK_CONFIG} in Makefile, update
patch and optimize Makefile.

PR:		23582
Submitted by:	David W. Chapman, Jr. <dwcjr@@inethouston.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.4 2000/10/29 22:57:58 steve Exp $
d11 1
a11 1
MASTER_SITES=	http://home.i1.net/~naken/asp2php/
d25 1
@


1.4
log
@Bump PORTREVISION (as I should have done with the previous commit) since
these ports now build again.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.3 2000/10/29 22:36:50 steve Exp $
d9 1
a9 2
PORTVERSION=	0.75.1
PORTREVISION=	1
d12 1
a12 1
DISTNAME=	${PORTNAME}${PORTVERSION}
d16 1
a16 1
WRKSRC=		${WRKDIR}/${PORTNAME}
a24 1
INSTALL_TARGET=	install install-gtk
d29 3
@


1.3
log
@Get this port to actually build and install gtkasp2php when HAVE_GTK
is defined.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.2 2000/10/05 06:47:40 reg Exp $
d10 1
@


1.2
log
@Implment WANT_GTK.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/asp2php/Makefile,v 1.1 2000/06/29 20:05:44 will Exp $
d24 2
a25 2
ALL_TARGET+=	gtkasp2php
INSTALL_TARGET+=install-gtk
@


1.1
log
@Add asp2php 0.75.1, a program that lets you convert ASP scripts to PHP.  It
requires PHP 4.0.  I've added (__PROPERLY DONE__) support to build the GTK
frontend if users want it.  =)

Obtained from:	NetBSD (plus an upgrade)
Suggested by:	kris
@
text
@d5 1
a5 1
# $FreeBSD$
d16 3
a18 3
.if defined(WANT_GTK)
LIB_DEPENDS+=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.endif
d20 1
a20 5
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
WRKSRC=		${WRKDIR}/${PORTNAME}
MAKE_ENV+=	GTK_CONFIG="${GTK_CONFIG}"
ALL_TARGET=	all
INSTALL_TARGET=	install
d22 2
a23 1
.if defined(WANT_GTK)
d31 1
a31 13
pre-fetch:
	@@${ECHO}
.if !defined(WANT_GTK)
	@@${ECHO} "If you want the GTK frontend, define the WANT_GTK variable"
	@@${ECHO} "in your make args.  For example:"
	@@${ECHO}
	@@${ECHO} "	make -DWANT_GTK"
.else
	@@${ECHO} "Building with GTK frontend."
.endif
	@@${ECHO}

.include <bsd.port.mk>
@

