pkgsrc/www/make_album/Makefile
2006-04-22 07:32:24 +00:00

37 lines
988 B
Makefile

# $NetBSD: Makefile,v 1.15 2006/04/22 07:32:24 lukem Exp $
#
DISTNAME= make_album_1_6
PKGNAME= make_album-1.6
PKGREVISION= 6
CATEGORIES= www
MASTER_SITES= http://www.burren.cx/david/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.burren.cx/david/make_album.html
COMMENT= Generate HTML albums of images
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
MY_SCRIPTS= index_albums ingest make_album newimagedir populate_master
USE_TOOLS+= perl:run
REPLACE_PERL= ${MY_SCRIPTS}
# do not disable configure stage via NO_CONFIGURE - REPLACE_PERL is handled
# in pre-configure stage
NO_BUILD= yes
INSTALLATION_DIRS= bin lib
do-install:
for f in ${MY_SCRIPTS}; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/bin; \
done
${INSTALL_DATA} ${WRKSRC}/cameras.txt ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/make_album
for f in CHANGES README TODO; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/make_album; \
done
.include "../../mk/bsd.pkg.mk"