1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/mail/phplist/Makefile

45 lines
1.1 KiB
Makefile

# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$
PORTNAME= phplist
PORTVERSION= 3.0.6
CATEGORIES= mail www
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= ports@bsdserwis.com
COMMENT= Full-featured open-source newsletter manager
RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
USE_PHP= hash iconv imap mysql pcre session xml zlib
NO_BUILD= yes
NO_ARCH= yes
PEARDIR?= ${LOCALBASE}/share/pear
PORTDOCS= BUGS INSTALL NEWS PEOPLE README README.batches \
README.bounces README.commandline README.passwords \
README.repetition README.rssfeeds README.security \
README.usertables README.utf8 TODO UPGRADE VERSION \
phplist.sql
SUB_FILES= phplist
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample
do-install:
@cd ${WRKSRC}/public_html/&&${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>