summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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