1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/asp2php/Makefile
Will Andrews c4fdd6d90c 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
2000-06-29 20:05:45 +00:00

47 lines
950 B
Makefile

# New ports collection makefile for: asp2php
# Date created: Thu 29 Jun 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= asp2php
PORTVERSION= 0.75.1
CATEGORIES= www
MASTER_SITES= http://home.i1.net/~naken/asp2php/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
.if defined(WANT_GTK)
LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.endif
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV+= GTK_CONFIG="${GTK_CONFIG}"
ALL_TARGET= all
INSTALL_TARGET= install
.if defined(WANT_GTK)
ALL_TARGET+= gtkasp2php
INSTALL_TARGET+=install-gtk
PLIST_SUB+= WANT_GTK=""
.else
PLIST_SUB+= WANT_GTK="@comment "
.endif
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>