openbsd-ports/www/igal/Makefile

40 lines
789 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.9 2013/03/11 11:44:42 espie Exp $
COMMENT= online Image GALlery generator
V= 1.4.7
DISTNAME= igal-$V-wt
PKGNAME= igal-${V}
REVISION= 1
CATEGORIES= www graphics
HOMEPAGE= http://trexler.at/igal/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
2010-11-22 03:36:47 -05:00
RUN_DEPENDS= graphics/ImageMagick \
graphics/jpeg \
graphics/jhead
NO_BUILD= Yes
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
PKG_ARCH= *
2010-10-19 04:02:53 -04:00
USE_GROFF = Yes
DATADIR= ${PREFIX}/share/igal
do-configure:
@perl -pi -e "s,/usr/local,${PREFIX},g;" \
-e "s,${PREFIX}/lib/igal,${DATADIR},g;" ${WRKSRC}/igal{,.1}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/igal ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/igal.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.{css,html,png} ${DATADIR}
.include <bsd.port.mk>