diff options
author | miwi <miwi@FreeBSD.org> | 2014-02-06 20:14:25 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-02-06 20:14:25 +0800 |
commit | 5a22fe13a76a555accd368c08ed6acb76f067bc4 (patch) | |
tree | 089e1d3c8ef11c583e9505be01da5d202a199925 /mail | |
parent | 37bdf3ff2669f5e421be2da90c6e96f5860e497c (diff) | |
download | freebsd-ports-gnome-5a22fe13a76a555accd368c08ed6acb76f067bc4.tar.gz freebsd-ports-gnome-5a22fe13a76a555accd368c08ed6acb76f067bc4.tar.zst freebsd-ports-gnome-5a22fe13a76a555accd368c08ed6acb76f067bc4.zip |
- Stage support
Diffstat (limited to 'mail')
-rw-r--r-- | mail/phpmailer/Makefile | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/mail/phpmailer/Makefile b/mail/phpmailer/Makefile index 6fa68a2f9e56..d82df49b534e 100644 --- a/mail/phpmailer/Makefile +++ b/mail/phpmailer/Makefile @@ -20,32 +20,22 @@ USE_PHP= yes SUB_FILES= pkg-message -NO_STAGE= yes do-install: - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} .for f in class.phpmailer.php class.pop3.php class.smtp.php composer.json - @${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} .endfor .for d in extras language test - @${MKDIR} ${DATADIR}/$d - @${INSTALL_DATA} ${WRKSRC}/$d/* ${DATADIR}/$d + @${MKDIR} ${STAGEDIR}${DATADIR}/$d + @${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d .endfor - @${CP} -R ${WRKSRC}/test_script ${DATADIR} - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${CP} -R ${WRKSRC}/test_script ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changelog.md README.md LICENSE - @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} + @${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .endfor - @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR} -.endif - -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |