1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/phplist/Makefile
Kurt Jaeger 02c55e6b94 mail/phplist: 3.2.4 -> 3.2.5
Changes: https://www.phplist.org/newslist/phplist-3-2-5-whats-new/

PR:		210060
Submitted by:	Krzysztof <ports@bsdserwis.com> (maintainer)
2016-06-06 05:37:28 +00:00

46 lines
1.3 KiB
Makefile

# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$
PORTNAME= phplist
PORTVERSION= 3.2.5
CATEGORIES= mail www
MASTER_SITES= SF
MAINTAINER= ports@bsdserwis.com
COMMENT= Full-featured open-source newsletter manager
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request
USES= cpe tar:tgz
USE_PHP= hash iconv imap mysqli pcre session xml zlib
WANT_PHP_WEB= yes
NO_BUILD= yes
NO_ARCH= yes
PEARDIR?= ${LOCALBASE}/share/pear
PORTDOCS= CONTRIBUTING.md COPYING INSTALL PEOPLE README.md TODO UPGRADE VERSION
OPTIONS_DEFINE= DOCS
SUB_FILES= phplist
post-extract:
@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample
# Note: there is file(s) with non-ascii filenames. So it's difficult to add
# such files to pkg-plist. That's why there is find with delete
#
do-install:
@${FIND} ${WRKSRC}/public_html/ -type f -regex '.*[^!-~].*' -delete
${MKDIR} ${STAGEDIR}${WWWDIR}/
(cd ${WRKSRC}/public_html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>