diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-06 12:14:25 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-06 12:14:25 +0000 |
commit | c215ae85a9bd19b13da0efaf6b4f08340f5514b7 (patch) | |
tree | 089e1d3c8ef11c583e9505be01da5d202a199925 /mail/phpmailer | |
parent | 27c8c00b903aa781285ae72dedc661c875c963bb (diff) | |
download | ports-c215ae85a9bd19b13da0efaf6b4f08340f5514b7.tar.gz ports-c215ae85a9bd19b13da0efaf6b4f08340f5514b7.zip |
Notes
Diffstat (limited to 'mail/phpmailer')
-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> |