freebsd-ports/graphics/npretty/Makefile
Koop Mast bb89f80c35 Update ImageMagick to 6.9.0.4.
- Normalize the ImageMagick library name so it stays the same regardless of
  what the 16-bit and HDRI option are set to [1]. Teach cmake to look for
  the new name. Bump ports that link to the libraries due to this.
- As a result do away with the "HALFSUPPORTED" option block, and list
  16-bit and HDRI with the other options.
- ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG
  support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2
  a mandatory dependency (instead of only when the SVG option was selected).
- Don't touch .keep files in the modules directory, there files there so
  it useless.

PR:		194949 [1]
PR:		195227 [2]
Requested by:	many [1]
Submitted by:	software-freebsd@interfasys.ch [2]
2015-01-18 21:12:42 +00:00

41 lines
1.2 KiB
Makefile

# Created by: Peter Ankerstal <peter@pean.org>
# $FreeBSD$
PORTNAME= npretty
PORTVERSION= 0.9.3
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= http://www.pulia.nu/code/projects/npretty/ \
${MASTER_SITE_LOCAL:S@%SUBDIR%@gabor@}
MAINTAINER= peter@pean.org
COMMENT= Simple web-gallery generator written in perl
LICENSE= GPLv2
RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
p5-forks>=0:${PORTSDIR}/devel/p5-forks
LIB_DEPENDS= libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick
NO_BUILD= yes
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= npretty.pl
OPTIONS_DEFINE= DOCS
post-patch:
@ ${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/npretty.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/npretty.pl ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/npretty
${INSTALL_DATA} ${WRKSRC}/novideo.gif ${STAGEDIR}${PREFIX}/etc/npretty
${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${STAGEDIR}${PREFIX}/etc/npretty
${INSTALL_DATA} ${WRKSRC}/npretty.conf ${STAGEDIR}${PREFIX}/etc/npretty
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in BUGS README
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>