1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/asp2php/Makefile
Will Andrews 10b473dfe5 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>
2000-12-21 09:07:51 +00:00

34 lines
601 B
Makefile

# New ports collection makefile for: asp2php
# Date created: Thu 29 Jun 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= asp2php
PORTVERSION= 0.75.11
CATEGORIES= www
MASTER_SITES= http://home.i1.net/~naken/asp2php/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME}
WANT_GTK= yes
.include <bsd.port.pre.mk>
.if defined(HAVE_GTK)
USE_GTK= yes
ALL_TARGET= all gtkasp2php
PLIST_SUB+= WANT_GTK=""
.else
PLIST_SUB+= WANT_GTK="@comment "
.endif
pre-build:
${PERL} -pi -e "s:gtk-config:${GTK_CONFIG}:g" ${WRKSRC}/Makefile
.include <bsd.port.post.mk>