diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-08 23:42:31 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-08 23:42:31 +0000 |
commit | 1e0d8c9112e8493a5f7edfd1134a422c3e3efac3 (patch) | |
tree | 8195bcc94557ed871bb3862c71b9314dc2c43bd8 /deskutils/horde4-nag/Makefile | |
parent | 3e50ab625e240bab15b5babee4112f1f654cae5d (diff) | |
download | ports-1e0d8c9112e8493a5f7edfd1134a422c3e3efac3.tar.gz ports-1e0d8c9112e8493a5f7edfd1134a422c3e3efac3.zip |
Notes
Diffstat (limited to 'deskutils/horde4-nag/Makefile')
-rw-r--r-- | deskutils/horde4-nag/Makefile | 61 |
1 files changed, 4 insertions, 57 deletions
diff --git a/deskutils/horde4-nag/Makefile b/deskutils/horde4-nag/Makefile index 8f0c055af8df..dffdf08643e2 100644 --- a/deskutils/horde4-nag/Makefile +++ b/deskutils/horde4-nag/Makefile @@ -7,68 +7,15 @@ PORTNAME= nag PORTVERSION= 2.1.3 -DISTVERSIONPREFIX= h3- PORTREVISION= 1 CATEGORIES= deskutils www -MASTER_SITES= HORDE MAINTAINER= beech@alaskaparadise.com COMMENT= Simple multiuser task list manager -RUN_DEPENDS= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base - -NO_BUILD= yes +USE_HORDE= base USE_GETTEXT= yes +PORTDOCS= README CHANGES CREDITS INSTALL RELEASE_NOTES TODO UPGRADING -PLIST_SUB= NAGDIR=${LNAGDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} -PKGMESSAGE= ${WRKDIR}/pkg-message -PKGDEINSTALL= ${WRKDIR}/pkg-deinstall -SUB_FILES= pkg-message pkg-install pkg-deinstall -SUB_LIST= NAGDIR=${NAGDIR} - -REINPLACE_ARGS= -i "" -PORTDOCS= README CHANGES CREDITS INSTALL \ - RELEASE_NOTES TODO UPGRADING -CONFFILE= menu.php prefs.php -SUB_DIRS= config js lib locale po scripts templates themes - -LHORDEDIR?= www/horde -LNAGDIR?= ${LHORDEDIR}/nag - -NAGDIR= ${PREFIX}/${LNAGDIR} -CONFDIR= ${NAGDIR}/config - -.include <bsd.port.pre.mk> - -post-extract: - @${MV} ${WRKSRC}/README ${WRKSRC}/docs/ - -pre-configure: - @(cd ${WRKSRC}/scripts && \ - ${FIND} . -name "*.php" -exec \ - ${REINPLACE_CMD} -e "s:/usr/local/bin/php: ${LOCALBASE}/bin/php:;s:/usr/bin/php: ${LOCALBASE}/bin/php:" {} \; ) - -do-install: - @${INSTALL} -d ${NAGDIR}/ - @${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${NAGDIR}/ - @${CP} -p ${WRKSRC}/*.php ${NAGDIR}/ - @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR}/ - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${NAGDIR}/ - @${CHMOD} -R o-rwx ${NAGDIR}/ - ${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP}\ - %D/${NAGDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST} - ${ECHO_CMD} @exec ${CHMOD} -R o-rwx\ - %D/${NAGDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST} -.if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR}/ - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}/ - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif - -post-install: - @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} - -.include <bsd.port.post.mk> +.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk" +.include <bsd.port.mk> |