diff options
author | sahil <sahil@FreeBSD.org> | 2010-05-27 09:12:09 +0800 |
---|---|---|
committer | sahil <sahil@FreeBSD.org> | 2010-05-27 09:12:09 +0800 |
commit | 4c650a22ea4a411424946eba2a05cf69664cd70b (patch) | |
tree | e99a17e6de4f8aaa48c07b8c52b7192a13a8483a | |
parent | 1f9d27f4b7e6ce2b9223ad7565d3d1ce7478378d (diff) | |
download | freebsd-ports-gnome-4c650a22ea4a411424946eba2a05cf69664cd70b.tar.gz freebsd-ports-gnome-4c650a22ea4a411424946eba2a05cf69664cd70b.tar.zst freebsd-ports-gnome-4c650a22ea4a411424946eba2a05cf69664cd70b.zip |
- Update to 7.2 [1]
- Install examples conditional on NOPORTEXAMPLES (not NOPORTDOCS) [2]
- Remove MANCOMPRESSED=no since it is default [2]
- Remove redundant installation of manpages [2]
[2]: Added by me; approved by maintainer
PR: ports/146932 [1]
Submitted by: C-S <c-s@c-s.li>
Approved by: Hugo Leisink (maintainer), itetcu@ (mentor)
-rw-r--r-- | www/hiawatha/Makefile | 17 | ||||
-rw-r--r-- | www/hiawatha/distinfo | 6 | ||||
-rw-r--r-- | www/hiawatha/pkg-plist | 10 |
3 files changed, 12 insertions, 21 deletions
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile index ae12baa87acd..ecddc6e75d61 100644 --- a/www/hiawatha/Makefile +++ b/www/hiawatha/Makefile @@ -6,18 +6,17 @@ # PORTNAME= hiawatha -PORTVERSION= 7.1 +PORTVERSION= 7.2 CATEGORIES= www MASTER_SITES= http://www.hiawatha-webserver.org/files/ MAINTAINER= hugo@leisink.net COMMENT= An advanced and secure webserver for Unix -DOCS= AUTHORS COPYING ChangeLog INSTALL -EXAMPLES= hiawatha mkcert newroot php-fcgi +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL +PORTEXAMPLES= hiawatha mkcert newroot php-fcgi CONFIG_FILES= hiawatha.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf MAN1= cgi-wrapper.1 hiawatha.1 newroot.1 php-fcgi.1 ssi-cgi.1 wigwam.1 -MANCOMPRESSED= no USE_RC_SUBR= hiawatha SUB_FILES= pkg-message @@ -73,11 +72,13 @@ CPPFLAGS+= -I${LOCALBASE}/include/libxml2 post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} ${ETCDIR} - @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ - @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/extra/,} ${EXAMPLESDIR}/ + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/extra/,} ${EXAMPLESDIR}/ .endif - @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1/ .for FILE in ${CONFIG_FILES} @${INSTALL_DATA} ${WRKSRC}/etc/hiawatha/${FILE} ${PREFIX}/etc/hiawatha/${FILE}.sample @if [ ! -f ${PREFIX}/etc/hiawatha/${FILE} ]; then \ diff --git a/www/hiawatha/distinfo b/www/hiawatha/distinfo index 586b03e65be7..1e6cf63edd7b 100644 --- a/www/hiawatha/distinfo +++ b/www/hiawatha/distinfo @@ -1,3 +1,3 @@ -MD5 (hiawatha-7.1.tar.gz) = 5ff70a75b0583110515cbca3890cc185 -SHA256 (hiawatha-7.1.tar.gz) = 27ae4136f6fdc88765ec79cea16214da77d646b1b7451cd5a9a0fc932dca7c37 -SIZE (hiawatha-7.1.tar.gz) = 271232 +MD5 (hiawatha-7.2.tar.gz) = 192a9fecea71cc4655dd68e2446919c7 +SHA256 (hiawatha-7.2.tar.gz) = bb3001ec9bd026a17ad23a4ae54d533611664cfb3846af86145e9a049e790ab8 +SIZE (hiawatha-7.2.tar.gz) = 271977 diff --git a/www/hiawatha/pkg-plist b/www/hiawatha/pkg-plist index 9466a96715f6..fda3e752b9a3 100644 --- a/www/hiawatha/pkg-plist +++ b/www/hiawatha/pkg-plist @@ -23,13 +23,3 @@ sbin/wigwam %%WWWDIR%%/index.hiawatha.html @exec if [ ! -f %D/www/hiawatha/index.html ] ; then cp -p %D/%F %%WWWDIR%%/index.html; fi @unexec t=`/bin/ls %D/www/hiawatha`; if [ -z "$t" ]; then echo "WWW directory is empty, remove it."; rmdir %D/www/hiawatha; fi; -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hiawatha -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mkcert -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newroot -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/php-fcgi -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |