37 lines
745 B
Makefile
37 lines
745 B
Makefile
# $OpenBSD: Makefile,v 1.5 2017/03/26 13:32:44 rpe Exp $
|
|
|
|
COMMENT= online Image GALlery generator
|
|
|
|
DISTNAME= igal2-2.2
|
|
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:
|
|
sed -i -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>
|