openbsd-ports/www/phplist/Makefile
mbalmer c36e4a167e Update to PHPList 2.10.3, which contains some of my additions and patches.
The full release information can be found on www.phplist.com.
2006-10-07 10:36:37 +00:00

41 lines
922 B
Makefile

# $OpenBSD: Makefile,v 1.2 2006/10/07 10:36:37 mbalmer Exp $
COMMENT= "web-based double opt-in newsletter manager"
DISTNAME= phplist-2.10.3
CATEGORIES= www
HOMEPAGE= http://www.phplist.com/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPL
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= :php5-mysql-*:www/php5/extensions,-mysql \
:php5-imap-*: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>