aboutsummaryrefslogtreecommitdiffstats
path: root/www/coppermine/Makefile
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2018-12-26 21:32:12 +0800
committerdanilo <danilo@FreeBSD.org>2018-12-26 21:32:12 +0800
commit19c17604865cef26367ae7fa7efaa8e301ecd368 (patch)
tree7fbce4e013abb393492fcbbbf28696d2191f0fb4 /www/coppermine/Makefile
parent8b8d77a69f5ee4dcf85bcd8c41fa4acbffb7ec48 (diff)
downloadfreebsd-ports-gnome-19c17604865cef26367ae7fa7efaa8e301ecd368.tar.gz
freebsd-ports-gnome-19c17604865cef26367ae7fa7efaa8e301ecd368.tar.zst
freebsd-ports-gnome-19c17604865cef26367ae7fa7efaa8e301ecd368.zip
- Update to 1.6.05
- Remove DEPRECATED and IGNORE_WITH_PHP. This version works with PHP 7 - Use github - Give www permissions just to directories which need to be writable This release contains important security patches. MFH: 2018Q4
Diffstat (limited to 'www/coppermine/Makefile')
-rw-r--r--www/coppermine/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile
index 087c734e21c9..35cf29edabe3 100644
--- a/www/coppermine/Makefile
+++ b/www/coppermine/Makefile
@@ -1,33 +1,31 @@
# $FreeBSD$
PORTNAME= coppermine
-PORTVERSION= 1.5.46
+PORTVERSION= 1.6.05
+DISTVERSIONPREFIX= v
CATEGORIES= www
-MASTER_SITES= SF/${PORTNAME}/Coppermine/1.5.x/
-DISTNAME= cpg${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Web picture gallery script
-DEPRECATED= Works only with EOL php 5.6
-EXPIRATION_DATE= 2018-12-30
-
LICENSE= GPLv3
-IGNORE_WITH_PHP= 71 72 73
+USES= php
OPTIONS_DEFINE= DOCS IMAGEMAGICK
IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension
IMAGEMAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick6
-USE_PHP= mysql pcre ctype
-USES= php zip
+USE_PHP= ctype hash json mysqli pcre xml
+
+USE_GITHUB= yes
+GH_ACCOUNT= coppermine-gallery
+GH_PROJECT= cpg1.6.x
NO_BUILD= yes
NO_ARCH= yes
-WRKSRC= ${WRKDIR}/cpg${PORTVERSION:R:R}${PORTVERSION:R:E}x
-DOCFILES= CHANGELOG.txt COPYING.txt README.txt
+PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt
SUB_FILES+= pkg-message
@@ -45,10 +43,10 @@ pre-everything::
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install:
- cd ${WRKSRC}/ && ${RM} ${DOCFILES}
+ cd ${WRKSRC}/ && ${RM} ${PORTDOCS}
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>