openbsd-ports/www/igal2/Makefile
jasper 687fb89e4a import igal2 (continued version of www/igal, which'll stay as discussed with sthen@)
igal2 (the successor of igal) is a quick and easy program for placing
your images online with just one command-line. It generates a pretty
good-looking set of W3-compliant static HTML slides even with its
default settings. The slide show preloads the next image with JavaScript
- ideal for slower links.

ok sthen@
2012-04-24 11:40:38 +00:00

39 lines
822 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/04/24 11:40:38 jasper Exp $
COMMENT= online Image GALlery generator
DISTNAME= igal2-2.0
CATEGORIES= www graphics
HOMEPAGE= http://igal.trexler.at/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
RUN_DEPENDS= graphics/ImageMagick \
graphics/jpeg \
graphics/jhead
NO_BUILD= Yes
NO_REGRESS= 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>