1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/WebMagick/Makefile
Baptiste Daroussin 53ad8315b0 Add some shebangfix to allow building most of the ports tree without /usr/bin/perl
Submitted by:	John Marino
Obtained from:	DPorts
2013-05-07 13:12:31 +00:00

58 lines
1.3 KiB
Makefile

# Created by: ache
# $FreeBSD$
PORTNAME= WebMagick
PORTVERSION= 2.03p18
DISTVERSION= 2.03pre18
PORTEPOCH= 1
CATEGORIES= www graphics
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}-beta/${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
LICENSE= GPLv2
LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS= p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
USES= shebangfix
USE_PERL5= yes
USE_AUTOTOOLS= autoconf aclocal automake
AUTOMAKE_ARGS+= --add-missing
INFO= webmagick
CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
webmagick_cv_iconpath=webmagick \
webmagick_cv_prefixpath="" \
webmagick_cv_htimage="" \
webmagick_cv_maptype=ncsa \
PERL=${PERL}
SHEBANG_FILES= utils/aub \
utils/aub_hook \
utils/help2man \
utils/make_dir_index.pl
.include <bsd.port.pre.mk>
.if !exists(${LOCALBASE}/bin/xlsfonts)
WITHOUT_X11= yes
.endif
.if defined(WITHOUT_X11)
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
.include <bsd.port.post.mk>