openbsd-ports/www/phplist/Makefile
sthen 26b7f15949 security update to phplist 2.10.14.
(though no ports@ readers appear to use it..)
2011-06-24 09:04:30 +00:00

39 lines
844 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/06/24 09:04:30 sthen Exp $
COMMENT= web-based double opt-in newsletter manager
DISTNAME= phplist-2.10.14
CATEGORIES= www
HOMEPAGE= http://www.phplist.com/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phplist/}
EXTRACT_SUFX= .tgz
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/lists
SUBST_VARS= INSTDIR
RUN_DEPENDS= www/php5/extensions,-mysql \
www/php5/extensions,-imap \
net/pear-HTTP-Request
do-install:
@-test ! -d ${INSTDIR} && mkdir ${INSTDIR}
@cd ${WRKDIST}/public_html/lists; tar cf - . | (cd ${INSTDIR}; tar xf -)
@rm ${INSTDIR}/index.html
@mv ${INSTDIR}/config/config.php ${INSTDIR}/config/config.php.dist
.include <bsd.port.mk>