aboutsummaryrefslogtreecommitdiff
path: root/mail/phpmailer2
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-27 03:15:44 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-27 03:15:44 +0000
commitd7cb9785f9b79845af9c617276fcd6ccb6895c4c (patch)
tree705dab2d97c7b457699e0d04b92bda9c584e83db /mail/phpmailer2
parentad572ffc9a534654bb01330d5fab2ca658de30ea (diff)
downloadports-d7cb9785f9b79845af9c617276fcd6ccb6895c4c.tar.gz
ports-d7cb9785f9b79845af9c617276fcd6ccb6895c4c.zip
Stagify, add LICENSE.
Notes
Notes: svn path=/head/; revision=366289
Diffstat (limited to 'mail/phpmailer2')
-rw-r--r--mail/phpmailer2/Makefile38
1 files changed, 16 insertions, 22 deletions
diff --git a/mail/phpmailer2/Makefile b/mail/phpmailer2/Makefile
index e9aeec7aea78..6843db0a8493 100644
--- a/mail/phpmailer2/Makefile
+++ b/mail/phpmailer2/Makefile
@@ -7,41 +7,35 @@ CATEGORIES= mail
MASTER_SITES= SF/phpmailer/phpmailer%20for%20php4/PHPMailer%20v${PORTVERSION}%20for%20PHP4
DISTNAME= PHPMailer_v${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Full Featured Email Transfer Class for PHP4
+LICENSE= LGPL21
+
CONFLICTS= phpmailer-5*
USES= dos2unix
NO_BUILD= yes
USE_PHP= pcre
-
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
do-install:
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for f in class.phpmailer.php class.pop3.php class.smtp.php
- @${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
.endfor
- @${MKDIR} ${DATADIR}/language
- @${INSTALL_DATA} ${WRKSRC}/language/* ${DATADIR}/language
- @${MKDIR} ${DATADIR}/test
- @${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/language
+ @${INSTALL_DATA} ${WRKSRC}/language/* ${STAGEDIR}${DATADIR}/language
+ @${MKDIR} ${STAGEDIR}${DATADIR}/test
+ @${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DATADIR}/test
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README LICENSE
- @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
- @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
- @${CP} -R ${WRKSRC}/phpdocs/* ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+ @${CP} -R ${WRKSRC}/phpdocs/* ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>