diff options
author | feld <feld@FreeBSD.org> | 2014-02-14 23:13:31 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2014-02-14 23:13:31 +0800 |
commit | 389200ed7f392b08a986f488f04e1211f8da4927 (patch) | |
tree | da37402b8fdc2909bad2cb5f58e3ac9d85294c61 | |
parent | 502ac2a87d6476443c3fc478f19160c21ef1bb47 (diff) | |
download | freebsd-ports-gnome-389200ed7f392b08a986f488f04e1211f8da4927.tar.gz freebsd-ports-gnome-389200ed7f392b08a986f488f04e1211f8da4927.tar.zst freebsd-ports-gnome-389200ed7f392b08a986f488f04e1211f8da4927.zip |
STAGE support
requires PHP hash module
Submitted by: p.novikov@step.nnov.ru
-rw-r--r-- | mail/phplist/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile index a644dcf8e659..fe287ee3193e 100644 --- a/mail/phplist/Makefile +++ b/mail/phplist/Makefile @@ -10,12 +10,12 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@bsdserwis.com COMMENT= A full-featured open-source newsletter manager -USE_PHP= session mysql imap xml pcre zlib iconv +RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request + +USE_PHP= hash iconv imap mysql pcre session xml zlib NO_BUILD= yes PEARDIR?= ${LOCALBASE}/share/pear -RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request - PORTDOCS= BUGS INSTALL NEWS PEOPLE README README.batches \ README.bounces README.commandline README.passwords \ README.repetition README.rssfeeds README.security \ @@ -24,19 +24,17 @@ PORTDOCS= BUGS INSTALL NEWS PEOPLE README README.batches \ SUB_FILES= phplist pkg-message -NO_STAGE= yes +.include <bsd.port.options.mk> post-extract: @${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php-dist do-install: - @cd ${WRKSRC}/public_html/&&${COPYTREE_SHARE} . ${WWWDIR}/ - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/ - @${INSTALL_SCRIPT} ${WRKDIR}/phplist ${PREFIX}/bin - @${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR:S|^${PREFIX}/|%D/|} >> ${TMPPLIST} -.if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @cd ${WRKSRC}/public_html/&&${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |