summaryrefslogtreecommitdiff
path: root/www/WebMagick/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2014-05-10 21:08:31 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2014-05-10 21:08:31 +0000
commitc361c0358dc33d7c18879bc8f94f6b7ec25a469d (patch)
tree7b3d3d85b8446c6a670bd62ecf5218041177e433 /www/WebMagick/Makefile
parent- Change AUTOTOOLS=libtool to USES=libtool:keepla. (diff)
Convert to stage
Notes
Notes: svn path=/head/; revision=353605
Diffstat (limited to '')
-rw-r--r--www/WebMagick/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile
index 6e9755597bc2..ce6d18e53c3c 100644
--- a/www/WebMagick/Makefile
+++ b/www/WebMagick/Makefile
@@ -4,6 +4,7 @@
PORTNAME= WebMagick
PORTVERSION= 2.03p24
DISTVERSION= 2.03pre24
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www graphics
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}-beta/${DISTVERSION}
@@ -13,14 +14,16 @@ COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
LICENSE= GPLv2
-LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS= libMagickCore.so:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS= p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
USES= shebangfix perl5
USE_AUTOTOOLS= autoconf aclocal automake
-AUTOMAKE_ARGS+= --add-missing
+AUTOMAKE_ARGS+= --add-missing
INFO= webmagick
-CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
+MAKE_ARGS+= ICON_INSTALL_DIR=${STAGEDIR}${PREFIX}/www/data/webmagick \
+ ETC_INSTALL_DIR=${STAGEDIR}${PREFIX}/etc
+CONFIGURE_ENV+= webmagick_cv_rootpath=${PREFIX}/www/data \
webmagick_cv_iconpath=webmagick \
webmagick_cv_prefixpath="" \
webmagick_cv_htimage="" \
@@ -31,7 +34,6 @@ SHEBANG_FILES= utils/aub \
utils/help2man \
utils/make_dir_index.pl
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if !exists(${LOCALBASE}/bin/xlsfonts)
@@ -42,16 +44,7 @@ WITHOUT_X11= yes
CONFIGURE_ENV+=with_x=no
.endif
-MAN1= webmagick.1
-
pre-install:
- @${MKDIR} ${PREFIX}/www/data
-
-post-install:
- cd ${WRKSRC}; \
- if [ ! -f ${PREFIX}/etc/webmagickrc ] ; then \
- ${INSTALL_DATA} webmagickrc ${PREFIX}/etc; \
- fi; \
- ${INSTALL_DATA} webmagickrc ${PREFIX}/etc/webmagickrc.dist
+ @${MKDIR} ${STAGEDIR}${PREFIX}/www/data
.include <bsd.port.post.mk>