* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Peter Ankerstal <peter@pean.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= npretty
|
|
DISTVERSIONPREFIX= n
|
|
DISTVERSION= 0.9.3-1
|
|
PORTREVISION= 3
|
|
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/ImageMagick6
|
|
|
|
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>
|