diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-04-21 17:17:47 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-04-21 17:17:47 +0000 |
commit | ceac0519ae1e27c32f041571b742d95a41d15441 (patch) | |
tree | f93f5c8ef93326bfa8c4abb0fac7467e2d1e204e /www/mambo/Makefile | |
parent | 572b333345f155b2c69095b138adb0f34653232d (diff) | |
download | ports-ceac0519ae1e27c32f041571b742d95a41d15441.tar.gz ports-ceac0519ae1e27c32f041571b742d95a41d15441.zip |
Notes
Diffstat (limited to 'www/mambo/Makefile')
-rw-r--r-- | www/mambo/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/www/mambo/Makefile b/www/mambo/Makefile new file mode 100644 index 000000000000..b0c9bd17ece5 --- /dev/null +++ b/www/mambo/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: www/mambo +# Date created: Mon Apr 18, 2005 +# Whom: Francisco Cabrita <include@npf.pt.freebsd.org> +# +# $FreeBSD$ + +PORTNAME= mambo +PORTVERSION= 4.5.2.1 +CATEGORIES= www +MASTER_SITES= http://mamboforge.net/frs/download.php/4004/:source1 \ + http://mamboforge.net/frs/download.php/4043/:source2 +DISTFILES= ${MAMBO_SRC}:source1 \ + ${MAMBO_PATCH}:source2 + +MAINTAINER= include@npf.pt.freebsd.org +COMMENT= A dynamic web content management system (CMS) + +EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip + +NO_BUILD= yes +USE_MYSQL= yes +USE_PHP= mysql zlib gd pdf xml +WANT_PHP_WEB= yes +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message +SUB_LIST+= MAMBO_DIR=${MAMBO_DIR} +PLIST_SUB+= MAMBO_DIR=${MAMBO_DIR} + +MAMBO_DIR?= www/${PORTNAME} +DIST_SUBDIR= ${PORTNAME} + +MAMBO_SRC= MamboV4.5.2-Stable.tar.gz +MAMBO_PATCH= Patch_4.5.2_to_4.5.2.1.zip + +do-extract: + @${MKDIR} ${WRKSRC} + @${TAR} -zxf ${DISTDIR}/${DIST_SUBDIR}/${MAMBO_SRC} -C ${WRKSRC} + @${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${MAMBO_PATCH} -d ${WRKSRC} + @${RM} -rf ${WRKSRC}/templates/rhuk_solarflare # remove empty + +do-install: + @${MKDIR} ${PREFIX}/${MAMBO_DIR} + @cd ${WRKSRC} && \ + ${FIND} . -type d -exec ${MKDIR} ${PREFIX}/${MAMBO_DIR}/{} \; \ + -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${MAMBO_DIR}/{} \; + @cd ${WRKSRC} && \ + ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/${MAMBO_DIR}/{} \; \ + -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${MAMBO_DIR}/{} \; + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |