diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-10 17:38:40 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-10 17:38:40 +0000 |
commit | 1785f8c1cc157c58b175a12f9146201a04433ce1 (patch) | |
tree | e5bff981b9ebbb235aa0fdb8ac5ac17a11465690 /mail/phpmailer | |
parent | d4b26d217fb720cb6183a946b6f2558899daf843 (diff) | |
download | ports-1785f8c1cc157c58b175a12f9146201a04433ce1.tar.gz ports-1785f8c1cc157c58b175a12f9146201a04433ce1.zip |
- Add LICENSE
- Add NO_ARCH
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=396588
Diffstat (limited to 'mail/phpmailer')
-rw-r--r-- | mail/phpmailer/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/mail/phpmailer/Makefile b/mail/phpmailer/Makefile index 82ec1d6d9f6e..944cfd22d995 100644 --- a/mail/phpmailer/Makefile +++ b/mail/phpmailer/Makefile @@ -9,36 +9,42 @@ CATEGORIES= mail MAINTAINER= ports@FreeBSD.org COMMENT= Full Featured Email Transfer Class for PHP -LICENSE= LGPL3 - -OPTIONS_DEFINE= DOCS EXAMPLES +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= Synchro GH_PROJECT= PHPMailer NO_BUILD= yes +NO_ARCH= yes USE_PHP= yes USES= dos2unix SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in PHPMailerAutoload.php class.phpmailer.php class.pop3.php \ class.smtp.php composer.json - @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} .endfor .for d in extras language test @${MKDIR} ${STAGEDIR}${DATADIR}/$d - @${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d + ${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changelog.md README.md LICENSE - @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} - @${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor + @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |