openbsd-ports/www/ezpublish/Makefile

42 lines
922 B
Makefile
Raw Normal View History

2011-11-16 10:56:36 -05:00
# $OpenBSD: Makefile,v 1.8 2011/11/16 15:56:37 robert Exp $
COMMENT = professional PHP application framework
2009-08-24 12:36:31 -04:00
VERSION = 4.1.3
2011-11-16 10:56:36 -05:00
REVISION = 3
DISTNAME = ezpublish-${VERSION}-gpl
PKGNAME = ezpublish-${VERSION}
CATEGORIES = www
HOMEPAGE = http://ez.no/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
2009-08-24 12:36:31 -04:00
MASTER_SITES = ${HOMEPAGE}/content/download/270150/2473822/version/3/file/
EXTRACT_SUFX = .tar.bz2
2011-07-08 20:14:45 -04:00
MODULES = lang/php
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-gd
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
INSTDIR = ${PREFIX}/ezpublish
SUBST_VARS = INSTDIR
WRKDIST = ${WRKDIR}/ezpublish-${VERSION}
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cd ${WRKSRC} && ${TAR} -cf - . | ${TAR} -C ${INSTDIR} -xf -
find ${INSTDIR} -name '*.orig' -type f | xargs -r rm -f
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>