1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/graphics/npretty/Makefile
Koop Mast 704ab44ef9 ImageMagick to 6.9.9-15.
* Disable FPX (FlashPix) support by default. This image format is really
  rare these days coupled with that there are known CVE's in libfpx and
  it doesn't seem to be maintained these days. It doesn't make sense to
  keep it enabled by default anymore. [1]
* Add new option for RAW support
* Fix portscout macro to only show 6.9.x versions

Bump other ports for the shared library bumps in IM 6.

PR:		222309 [1]
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru> [1]
2017-09-28 15:36:31 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Peter Ankerstal <peter@pean.org>
# $FreeBSD$
PORTNAME= npretty
DISTVERSIONPREFIX= n
DISTVERSION= 0.9.3-1
PORTREVISION= 2
CATEGORIES= graphics
MAINTAINER= peter@pean.org
COMMENT= Simple web-gallery generator written in perl
LICENSE= GPLv2
RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \
p5-forks>=0:devel/p5-forks
LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick
USE_GITHUB= yes
GH_ACCOUNT= gammy
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>