freebsd-ports/mail/phplist/Makefile
Martin Wilke 0b43fd0caf - Update to 2.10.9
PR:		130934
Reported by:	Mark Foster <mark@foster.cc>
Approved by:	maintainer timeout (security update 7 days)
Security:	http://www.vuxml.org/freebsd/40774927-f6b4-11dd-94d9-0030843d3802.html
2009-02-09 14:59:51 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: phplist
# Date created: August 24 2007
# Whom: Nick Hilliard <nick@foobar.org>
#
# $FreeBSD$
PORTNAME= phplist
PORTVERSION= 2.10.9
CATEGORIES= mail www
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= nick@foobar.org
COMMENT= A full-featured open-source newsletter manager
IGNORE_WITH_MYSQL= 323
USE_PHP= session mysql imap xml pcre zlib
NO_BUILD= yes
PORTDOCS= BUGS INSTALL NEWS PEOPLE README README.batches \
README.bounces README.commandline README.passwords \
README.repetition README.rssfeeds README.security \
README.usertables TODO UPGRADE VERSION phplist.sql
SUB_FILES= phplist pkg-message
post-extract:
@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php-dist
do-install:
@cd ${WRKSRC}/public_html/&&${COPYTREE_SHARE} . ${WWWDIR}/
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
@${INSTALL_SCRIPT} ${WRKDIR}/phplist ${PREFIX}/bin
@${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR:S|^${PREFIX}/|%D/|} >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>