openbsd-ports/www/ezpublish/Makefile
2013-03-11 11:35:43 +00:00

39 lines
838 B
Makefile

# $OpenBSD: Makefile,v 1.10 2013/03/11 11:44:41 espie Exp $
COMMENT = professional PHP application framework
VERSION = 4.1.3
REVISION = 4
DISTNAME = ezpublish-${VERSION}-gpl
PKGNAME = ezpublish-${VERSION}
CATEGORIES = www
HOMEPAGE = http://ez.no/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}/content/download/270150/2473822/version/3/file/
EXTRACT_SUFX = .tar.bz2
MODULES = lang/php
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-gd
NO_BUILD = Yes
NO_TEST = 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>