blob: 000383f6ee5e6aaa128457f1999a6f8a3a8303f7 (
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
39
40
41
42
|
# 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
.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>
|