2000-06-29 22:05:45 +02:00
|
|
|
# New ports collection makefile for: asp2php
|
|
|
|
# Date created: Thu 29 Jun 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asp2php
|
2005-01-11 09:21:16 +01:00
|
|
|
PORTVERSION= 0.76.23
|
2000-06-29 22:05:45 +02:00
|
|
|
CATEGORIES= www
|
2004-10-13 20:24:35 +02:00
|
|
|
MASTER_SITES= http://downloads.mikekohn.net/asp2php/
|
2000-06-29 22:05:45 +02:00
|
|
|
|
2003-06-12 18:41:16 +02:00
|
|
|
MAINTAINER= erwin@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Converts ASP scripts to PHP
|
2000-06-29 22:05:45 +02:00
|
|
|
|
2002-03-31 20:09:56 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}/src
|
2000-06-29 22:05:45 +02:00
|
|
|
|
2002-09-01 17:31:33 +02:00
|
|
|
WANT_GNOME= yes
|
2002-03-25 13:31:06 +01:00
|
|
|
MAKE_ENV= FLAGS="${CFLAGS}"
|
2002-06-21 18:17:18 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-10-05 08:47:41 +02:00
|
|
|
|
2004-10-13 20:24:35 +02:00
|
|
|
PLIST_FILES= bin/asp2php
|
|
|
|
|
2000-10-05 08:47:41 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-01 17:31:33 +02:00
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
PKGNAMESUFFIX= -gtk
|
2002-03-25 13:31:06 +01:00
|
|
|
ALL_TARGET= default gui
|
2004-10-13 20:24:35 +02:00
|
|
|
PLIST_FILES+= bin/gtkasp2php
|
2003-05-03 07:18:06 +02:00
|
|
|
HAVE_GTK= yes
|
2000-06-29 22:05:45 +02:00
|
|
|
.else
|
2002-03-25 13:31:06 +01:00
|
|
|
ALL_TARGET= default
|
2000-06-29 22:05:45 +02:00
|
|
|
.endif
|
|
|
|
|
2002-03-24 01:25:07 +01:00
|
|
|
post-patch:
|
2002-06-21 18:17:18 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
2002-05-03 00:59:47 +02:00
|
|
|
's|^CC=|#CC=|g ; \
|
|
|
|
s| make| \$$\{MAKE\}|g ; \
|
|
|
|
s|`gtk-config|`\$$\{GTK_CONFIG\}|g'
|
2002-03-24 01:25:07 +01:00
|
|
|
|
2002-03-25 13:31:06 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/asp2php ${PREFIX}/bin
|
|
|
|
.if defined(HAVE_GTK)
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gtkasp2php ${PREFIX}/bin
|
|
|
|
.endif
|
2000-12-21 10:07:51 +01:00
|
|
|
|
2000-10-05 08:47:41 +02:00
|
|
|
.include <bsd.port.post.mk>
|