2006-11-08 22:25:52 +01:00
|
|
|
# New ports collection makefile for: npretty
|
|
|
|
# Date created: 11 October 2006
|
2006-12-12 21:24:58 +01:00
|
|
|
# Whom: Peter Ankerstal <peter@pean.org>
|
2006-11-08 22:25:52 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= npretty
|
|
|
|
PORTVERSION= 0.9.3
|
2011-10-11 09:17:46 +02:00
|
|
|
PORTREVISION= 6
|
2006-11-08 22:25:52 +01:00
|
|
|
CATEGORIES= graphics
|
2007-02-09 12:12:38 +01:00
|
|
|
MASTER_SITES= http://www.pulia.nu/code/projects/npretty/ \
|
|
|
|
${MASTER_SITE_LOCAL:S@%SUBDIR%@gabor@}
|
2006-11-08 22:25:52 +01:00
|
|
|
|
|
|
|
MAINTAINER= peter@pean.org
|
2006-12-12 21:24:58 +01:00
|
|
|
COMMENT= A simple web-gallery generator written in perl
|
2006-11-08 22:25:52 +01:00
|
|
|
|
2012-06-30 14:42:52 +02:00
|
|
|
RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
|
2012-07-03 19:38:41 +02:00
|
|
|
convert:${PORTSDIR}/graphics/ImageMagick \
|
2012-06-30 14:42:52 +02:00
|
|
|
p5-forks>=0:${PORTSDIR}/devel/p5-forks
|
2006-11-08 22:25:52 +01:00
|
|
|
|
2006-12-12 21:24:58 +01:00
|
|
|
LIB_DEPENDS+= Magick.*:${PORTSDIR}/graphics/ImageMagick
|
2006-11-08 22:25:52 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ ${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/npretty.pl
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/npretty.pl ${PREFIX}/bin
|
|
|
|
${MKDIR} ${PREFIX}/etc/npretty
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/novideo.gif ${PREFIX}/etc/npretty
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${PREFIX}/etc/npretty
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/npretty.conf ${PREFIX}/etc/npretty
|
2006-12-12 21:24:58 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in BUGS COPYING README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2006-11-08 22:25:52 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|