freebsd-ports/mail/phpmailer2/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= phpmailer2
PORTVERSION= 2.0.4
CATEGORIES= mail
MASTER_SITES= SF/phpmailer/phpmailer%20for%20php4/PHPMailer%20v${PORTVERSION}%20for%20PHP4
DISTNAME= PHPMailer_v${DISTVERSION}
2014-08-27 05:15:44 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Full Featured Email Transfer Class for PHP4
2015-11-09 13:59:03 +01:00
BROKEN= unfetchable
2014-08-27 05:15:44 +02:00
LICENSE= LGPL21
CONFLICTS= phpmailer-5*
USES= dos2unix
NO_BUILD= yes
USE_PHP= pcre
SUB_FILES= pkg-message
2014-08-27 05:15:44 +02:00
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
2014-08-27 05:15:44 +02:00
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in class.phpmailer.php class.pop3.php class.smtp.php
2014-08-27 05:15:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
.endfor
2014-08-27 05:15:44 +02:00
@${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
2014-08-27 05:15:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
2014-08-27 05:15:44 +02:00
@${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>