diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-19 13:27:32 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-19 13:27:32 +0000 |
commit | 0b23777826a5360535fdb3ff64b08e98cd026057 (patch) | |
tree | 26fd4ddee8da28bbdd39dc01c5e704d2971824f3 /www/coppermine | |
parent | 4965f0bc28eee47a8265c8aa06f3d17cf364d577 (diff) | |
download | ports-0b23777826a5360535fdb3ff64b08e98cd026057.tar.gz ports-0b23777826a5360535fdb3ff64b08e98cd026057.zip |
Notes
Diffstat (limited to 'www/coppermine')
-rw-r--r-- | www/coppermine/Makefile | 26 | ||||
-rw-r--r-- | www/coppermine/pkg-plist | 4 |
2 files changed, 13 insertions, 17 deletions
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile index 51abd2a39a50..85331fdb232b 100644 --- a/www/coppermine/Makefile +++ b/www/coppermine/Makefile @@ -6,28 +6,26 @@ CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/Coppermine/1.5.x/ DISTNAME= cpg${PORTVERSION} -MAINTAINER= danilogondolfo@gmail.com -COMMENT= A web picture gallery script +MAINTAINER= danilo@FreeBSD.org +COMMENT= Web picture gallery script OPTIONS_DEFINE= DOCS IMAGEMAGICK IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension +IMAGEMAGICK_RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick + USE_PHP= mysql pcre ctype USE_ZIP= yes NO_BUILD= yes -PKGMESSAGE= ${WRKDIR}/pkg-message WRKSRC= ${WRKDIR}/cpg${PORTVERSION:R:R}${PORTVERSION:R:E}x DOCFILES= CHANGELOG.txt COPYING.txt README.txt SUB_FILES+= pkg-message -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MIMAGEMAGICK} -RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick -.else +.if empty(PORT_OPTIONS:MIMAGEMAGICK) USE_PHP+= gd .endif @@ -41,15 +39,9 @@ post-extract: @${CHMOD} -R o-w ${WRKSRC}/ do-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR} -.endif - cd ${WRKSRC}/ && ${RM} ${DOCFILES} - cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${WWWDIR}/ - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/ - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ + @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC}/ && ${RM} ${DOCFILES} + @cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include <bsd.port.mk> diff --git a/www/coppermine/pkg-plist b/www/coppermine/pkg-plist index cae3d0975c97..37da81a8b525 100644 --- a/www/coppermine/pkg-plist +++ b/www/coppermine/pkg-plist @@ -1,6 +1,8 @@ %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt %%PORTDOCS%%%%DOCSDIR%%/COPYING.txt %%PORTDOCS%%%%DOCSDIR%%/README.txt +@owner www +@group www %%WWWDIR%%/addfav.php %%WWWDIR%%/addpic.php %%WWWDIR%%/admin.php @@ -2172,6 +2174,8 @@ %%WWWDIR%%/viewlog.php %%WWWDIR%%/xp_publish.php %%WWWDIR%%/zipdownload.php +@group +@owner @dirrm %%WWWDIR%%/themes/water_drop/images @dirrm %%WWWDIR%%/themes/water_drop @dirrm %%WWWDIR%%/themes/sample/images |