summaryrefslogtreecommitdiff
path: root/www/make_album/Makefile
blob: 112cf8cd004dbfb60559e5d9a889e2293ca03677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.7 2003/10/01 08:22:48 simonb Exp $
#

DISTNAME=	make_album_1_6
PKGNAME=	make_album-1.6
PKGREVISION=	4
CATEGORIES=	www
MASTER_SITES=	http://www.burren.cx/david/files/

MAINTAINER=	lukem@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_BUILDLINK2=	# defined
USE_PERL5=	# defined
REPLACE_PERL=	${MY_SCRIPTS}

NO_BUILD=	# defined

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"