ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/mail/phplist/Makefile
Revision: 22186
Committed: Wed Dec 28 15:25:14 2016 UTC (7 years, 3 months ago) by laffer1
Content type: text/plain
File size: 1404 byte(s)
Log Message:
update to 3.2.5

File Contents

# Content
1 # Created by: Nick Hilliard <nick@foobar.org>
2 # $FreeBSD: head/mail/phplist/Makefile 409720 2016-02-28 07:01:43Z miwi $
3 # $MidnightBSD$
4
5 PORTNAME= phplist
6 PORTVERSION= 3.2.5
7 CATEGORIES= mail www
8 MASTER_SITES= SF
9
10 MAINTAINER= ports@MidnightBSD.org
11 COMMENT= Full-featured open-source newsletter manager
12
13 LICENSE= gpl3
14 LICENSE_FILE= ${WRKSRC}/COPYING
15
16 RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
17
18 USES= cpe tar:tgz
19 USE_PHP= hash iconv imap mysqli pcre session xml zlib
20 WANT_PHP_WEB= yes
21 NO_BUILD= yes
22 NO_ARCH= yes
23
24 PEARDIR?= ${LOCALBASE}/share/pear
25
26 PORTDOCS= CONTRIBUTING.md COPYING INSTALL PEOPLE README.md TODO UPGRADE VERSION
27
28 OPTIONS_DEFINE= DOCS
29 SUB_FILES= phplist
30
31 post-extract:
32 @${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample
33
34 # Note: there is file(s) with non-ascii filenames. So it's difficult to add
35 # such files to pkg-plist. That's why there is find with delete
36 #
37 do-install:
38 @${FIND} ${WRKSRC}/public_html/ -type f -regex '.*[^!-~].*' -delete
39 ${MKDIR} ${STAGEDIR}${WWWDIR}/
40 (cd ${WRKSRC}/public_html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
41 ${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin
42 ${MKDIR} ${STAGEDIR}${DOCSDIR}
43 (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
44 (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
45
46 .include <bsd.port.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain