freebsd-ports/mail/phpmailer/Makefile
Mathieu Arnold f29a218fcd Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-18 17:07:45 +00:00

44 lines
1 KiB
Makefile

# Created by: Zhen REN <bg1tpt@gmail.com>
# $FreeBSD$
PORTNAME= phpmailer
PORTVERSION= 5.2.7
DISTVERSIONPREFIX= v
CATEGORIES= mail
MAINTAINER= joehorn@gmail.com
COMMENT= Full Featured Email Transfer Class for PHP
LICENSE= LGPL3
OPTIONS_DEFINE= DOCS EXAMPLES
USE_GITHUB= yes
GH_ACCOUNT= Synchro
GH_PROJECT= PHPMailer
NO_BUILD= yes
USE_PHP= yes
USES= dos2unix
SUB_FILES= pkg-message
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}
.endfor
.for d in extras language test
@${MKDIR} ${STAGEDIR}${DATADIR}/$d
@${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in changelog.md README.md LICENSE
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
@${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>