svn commit: r387440 - head/www/WebMagick
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon May 25 21:34:24 UTC 2015
Author: amdmi3
Date: Mon May 25 21:34:22 2015
New Revision: 387440
URL: https://svnweb.freebsd.org/changeset/ports/387440
Log:
- Switch to @sample
- Drop @dirrm* from plist
- Add LICENSE_FILE
Modified:
head/www/WebMagick/Makefile
head/www/WebMagick/pkg-plist
Modified: head/www/WebMagick/Makefile
==============================================================================
--- head/www/WebMagick/Makefile Mon May 25 21:33:16 2015 (r387439)
+++ head/www/WebMagick/Makefile Mon May 25 21:34:22 2015 (r387440)
@@ -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 at 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>
Modified: head/www/WebMagick/pkg-plist
==============================================================================
--- head/www/WebMagick/pkg-plist Mon May 25 21:33:16 2015 (r387439)
+++ head/www/WebMagick/pkg-plist Mon May 25 21:34:22 2015 (r387440)
@@ -1,6 +1,4 @@
- at 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
- at exec [ ! -f %B/webmagickrc ] && cp %B/%f %B/webmagickrc
+ at 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
- at dirrm www/data/webmagick
- at dirrmtry www/data
More information about the svn-ports-head
mailing list