freebsd-ports/www/llgal/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* 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>
2018-11-10 19:57:07 +00:00

52 lines
1.5 KiB
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME= llgal
PORTVERSION= 0.13.18
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.gna.org/llgal/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line online gallery generator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-Image-Size>=0:graphics/p5-Image-Size \
p5-URI>=0:net/p5-URI \
p5-Locale-gettext>=0:devel/p5-Locale-gettext \
p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool
RUN_DEPENDS= p5-Image-Size>=0:graphics/p5-Image-Size \
p5-URI>=0:net/p5-URI \
p5-Locale-gettext>=0:devel/p5-Locale-gettext \
p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \
convert:graphics/ImageMagick6
USES= gettext perl5 gmake tar:bzip2 shebangfix
SHEBANG_FILES= llgal.in
USE_PERL5= run
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX," ${WRKSRC}/Makefile
post-configure:
${SED} -e "s,@VERSION@,${PORTVERSION}," < ${WRKSRC}/lib/Makefile.PL.in > ${WRKSRC}/lib/Makefile.PL
cd ${WRKSRC}/lib; ${PERL} Makefile.PL
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/doc/*.html \
${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>