openbsd-ports/www/awl/Makefile
2012-03-05 18:19:55 +00:00

35 lines
745 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/03/05 18:19:55 landry Exp $
COMMENT = Andrew's web libraries for PHP
DISTNAME = awl-0.51
PKGNAME = php-${DISTNAME}
REVISION = 0
CATEGORIES = www
PKG_ARCH = *
HOMEPAGE = http://andrew.mcmillan.net.nz/projects/awl
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://debian.mcmillan.net.nz/packages/awl/
PREFIX = /var/www
INSTDIR = ${PREFIX}/awl
SUBST_VARS = INSTDIR
NO_BUILD = Yes
NO_REGRESS = Yes
MODULES = lang/php
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/{README,dba,docs,inc} ${INSTDIR}
rm ${INSTDIR}/inc/AWLUtilities.php.in
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>