summaryrefslogtreecommitdiff
path: root/mail/phpmailer
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-06 12:14:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-06 12:14:25 +0000
commitc215ae85a9bd19b13da0efaf6b4f08340f5514b7 (patch)
tree089e1d3c8ef11c583e9505be01da5d202a199925 /mail/phpmailer
parentSupport staging (diff)
- Stage support
Notes
Notes: svn path=/head/; revision=343042
Diffstat (limited to 'mail/phpmailer')
-rw-r--r--mail/phpmailer/Makefile30
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>