openbsd-ports/www/igal2/Makefile
rpe ac80a29686 Update www/igal2 to 2.1
This version adds EXIF support using p5-Image-ExifTool.

- change $LIBDIR to /usr/local/share
- remove jhead from and add graphics/p5-Image-ExifTool as new run dep
- remove the changes for integrating jhead
- remove patch-slidetemplate2_html

OK aja@
2015-04-19 12:49:54 +00:00

36 lines
746 B
Makefile

# $OpenBSD: Makefile,v 1.4 2015/04/19 12:49:54 rpe Exp $
COMMENT= online Image GALlery generator
DISTNAME= igal2-2.1
CATEGORIES= www graphics
HOMEPAGE= http://igal.trexler.at/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
RUN_DEPENDS= graphics/ImageMagick \
graphics/jpeg \
graphics/p5-Image-ExifTool
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
DATADIR= ${PREFIX}/share/igal2
do-configure:
@perl -pi -e "s,/usr/local,${PREFIX},g;" \
-e "s,${PREFIX}/lib/igal2,${DATADIR},g;" ${WRKSRC}/igal2{,.1}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/igal2 ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/igal2.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.{css,html,png} ${DATADIR}
.include <bsd.port.mk>