aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-11 17:56:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-11 17:56:26 +0000
commit2c0177e347de3ea5a3949d9d7ea0e87c19e69275 (patch)
treebbacba08341c374004a4d1dc33bd7b5f6d97cd29 /www
parent03fc24b6bebfb2e6799f23249fd2efa916ddfff7 (diff)
downloadports-2c0177e347de3ea5a3949d9d7ea0e87c19e69275.tar.gz
ports-2c0177e347de3ea5a3949d9d7ea0e87c19e69275.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/dalbum/Makefile7
-rw-r--r--www/dalbum/files/patch-config-config.php6
-rw-r--r--www/dalbum/pkg-plist2
3 files changed, 9 insertions, 6 deletions
diff --git a/www/dalbum/Makefile b/www/dalbum/Makefile
index 8bbb163a2c4b..126c99e59c6b 100644
--- a/www/dalbum/Makefile
+++ b/www/dalbum/Makefile
@@ -11,9 +11,12 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Free, highly customizable PHP photo album
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/license.txt
+
RUN_DEPENDS= convert:graphics/ImageMagick
-USES= cpe
+USES= cpe php
CPE_VERSION= ${PORTVERSION:C/^([0-9])([0-9][0-9]).*/\1.\2/}
CPE_UPDATE= ${PORTVERSION:C/^.*\.//}
USE_PHP= session pcre
@@ -32,7 +35,7 @@ post-patch:
@${RM} ${WRKSRC}/config/config.php.*
do-install:
- @${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
@cd ${WRKSRC} && ${FIND} .htaccess .private config images include pictures *.css *.js *.php *.txt -print | \
${CPIO} --quiet -pdum \
${STAGEDIR}${PREFIX}/${DALBUM_DIR}
diff --git a/www/dalbum/files/patch-config-config.php b/www/dalbum/files/patch-config-config.php
index 3673828a1e29..187ec6b4bfe1 100644
--- a/www/dalbum/files/patch-config-config.php
+++ b/www/dalbum/files/patch-config-config.php
@@ -1,6 +1,6 @@
---- config/config.php.orig Fri Oct 21 13:43:21 2005
-+++ config/config.php Fri Oct 21 13:44:15 2005
-@@ -242,7 +242,7 @@
+--- config/config.php.orig 2005-09-20 21:40:56 UTC
++++ config/config.php
+@@ -242,7 +242,7 @@ $g_bGDVer2=(fixed_phpversion()>"4.3");
$g_bGDSetMemoryLimit=true;
// ImageMagick convert location and command lines (if $g_sResizeMethod="IM")
diff --git a/www/dalbum/pkg-plist b/www/dalbum/pkg-plist
index e5336bc204d6..1da13b440463 100644
--- a/www/dalbum/pkg-plist
+++ b/www/dalbum/pkg-plist
@@ -91,6 +91,6 @@
@dir %%DALBUM_DIR%%/images
@dir %%DALBUM_DIR%%/config
@dir %%DALBUM_DIR%%/.private
-@dir %%DALBUM_DIR%%
+@dir(,,775) %%DALBUM_DIR%%
@owner
@group