blob: 8d7cf13eacddb62f5d7e34fcaeb3b8db9cfc536c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$
PORTNAME= phplist
PORTVERSION= 2.10.19
CATEGORIES= mail www
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= ports@bsdserwis.com
COMMENT= A full-featured open-source newsletter manager
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
NO_STAGE= yes
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>
|