aboutsummaryrefslogtreecommitdiff
path: root/www/WebMagick
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-25 21:34:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-25 21:34:22 +0000
commitbb1573afe392bfe31baf0b7622316e9187bb973c (patch)
tree49c176831038a8106cb96476edfc11c4039580a8 /www/WebMagick
parent533ea0d0936a5d0a3bbe7652f573d3150abda33f (diff)
downloadports-bb1573afe392bfe31baf0b7622316e9187bb973c.tar.gz
ports-bb1573afe392bfe31baf0b7622316e9187bb973c.zip
Notes
Diffstat (limited to 'www/WebMagick')
-rw-r--r--www/WebMagick/Makefile6
-rw-r--r--www/WebMagick/pkg-plist6
2 files changed, 7 insertions, 5 deletions
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile
index 10f780c3c54e..7f91abc2ff21 100644
--- a/www/WebMagick/Makefile
+++ b/www/WebMagick/Makefile
@@ -4,6 +4,7 @@
PORTNAME= WebMagick
PORTVERSION= 2.03p26
DISTVERSION= 2.03pre26
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www graphics
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}-beta/${DISTVERSION}
@@ -12,6 +13,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS= p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
@@ -49,4 +51,8 @@ pre-configure:
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/www/data
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/etc/webmagickrc.dist \
+ ${STAGEDIR}${PREFIX}/etc/webmagickrc.sample
+
.include <bsd.port.post.mk>
diff --git a/www/WebMagick/pkg-plist b/www/WebMagick/pkg-plist
index b29557b34c50..70661c2209a3 100644
--- a/www/WebMagick/pkg-plist
+++ b/www/WebMagick/pkg-plist
@@ -1,6 +1,4 @@
-@unexec if [ -f %D/etc/webmagickrc ] && cmp -s %D/etc/webmagickrc %D/etc/webmagickrc.dist; then rm -f %D/etc/webmagickrc; fi
-etc/webmagickrc.dist
-@exec [ ! -f %B/webmagickrc ] && cp %B/%f %B/webmagickrc
+@sample etc/webmagickrc.sample
bin/webmagick
man/man1/webmagick.1.gz
www/data/webmagick/aqua_next.gif
@@ -27,5 +25,3 @@ www/data/webmagick/frame-style-4.jpg
www/data/webmagick/gray_next.gif
www/data/webmagick/gray_prev.gif
www/data/webmagick/webmagick.js
-@dirrm www/data/webmagick
-@dirrmtry www/data