mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
10b473dfe5
patch and optimize Makefile. PR: 23582 Submitted by: David W. Chapman, Jr. <dwcjr@inethouston.net>
34 lines
601 B
Makefile
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>
|