svn commit: r366289 - head/mail/phpmailer2
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Aug 27 03:15:45 UTC 2014
Author: vanilla
Date: Wed Aug 27 03:15:44 2014
New Revision: 366289
URL: http://svnweb.freebsd.org/changeset/ports/366289
QAT: https://qat.redports.org/buildarchive/r366289/
Log:
Stagify, add LICENSE.
Modified:
head/mail/phpmailer2/Makefile
Modified: head/mail/phpmailer2/Makefile
==============================================================================
--- head/mail/phpmailer2/Makefile Wed Aug 27 03:04:24 2014 (r366288)
+++ head/mail/phpmailer2/Makefile Wed Aug 27 03:15:44 2014 (r366289)
@@ -7,41 +7,35 @@ CATEGORIES= mail
MASTER_SITES= SF/phpmailer/phpmailer%20for%20php4/PHPMailer%20v${PORTVERSION}%20for%20PHP4
DISTNAME= PHPMailer_v${DISTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list