1 # $NetBSD: Makefile,v 1.28 2011/03/08 21:55:49 bad Exp $
3 DISTNAME
= Jalbum
${VERSION}
4 PKGNAME
= jalbum-
${VERSION}
7 MASTER_SITES
= http
://jalbum.net
/download
/
8 DIST_SUBDIR
= ${PKGNAME_NOREV}
11 MAINTAINER
= pkgsrc-users@NetBSD.org
12 HOMEPAGE
= http
://jalbum.net
/
13 COMMENT
= Web photo album generator
19 PKG_JVMS_ACCEPTED
= jdk15 sun-jdk6
21 WRKSRC
= ${WRKDIR}/Jalbum
23 INSTALLATION_DIRS
+= bin
${PREFIX}/share
/jalbum
28 ${ECHO} "===> Removing invalid skins"
29 (cd
${WRKSRC} && rm -rf skins
/Chameleon
/styles
/Black
*)
32 sed
-e s
#@PKG_JAVA_HOME@#${PKG_JAVA_HOME}#g \
33 -e s
#@PREFIX@#${PREFIX}#g \
34 < ${FILESDIR}/jalbum
> ${WRKDIR}/jalbum
37 ${INSTALL_SCRIPT} ${WRKDIR}/jalbum
${DESTDIR}${PREFIX}/bin
38 cd
${WRKDIR}/Jalbum
&& pax
-rw .
${DESTDIR}${PREFIX}/share
/jalbum
40 .
include "../../mk/java-vm.mk"
41 .
include "../../mk/bsd.pkg.mk"