Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / www / jalbum / Makefile
blobd333775f0e0ae608c7bb594b010e04738d328a78
1 # $NetBSD: Makefile,v 1.28 2011/03/08 21:55:49 bad Exp $
3 DISTNAME= Jalbum${VERSION}
4 PKGNAME= jalbum-${VERSION}
5 #PKGREVISION= 1
6 CATEGORIES= www
7 MASTER_SITES= http://jalbum.net/download/
8 DIST_SUBDIR= ${PKGNAME_NOREV}
9 EXTRACT_SUFX= .zip
11 MAINTAINER= pkgsrc-users@NetBSD.org
12 HOMEPAGE= http://jalbum.net/
13 COMMENT= Web photo album generator
14 LICENSE= gnu-lgpl-v2
16 VERSION= 8.5.3
18 USE_JAVA2= 1.5
19 PKG_JVMS_ACCEPTED= jdk15 sun-jdk6
21 WRKSRC= ${WRKDIR}/Jalbum
23 INSTALLATION_DIRS+= bin ${PREFIX}/share/jalbum
25 USE_TOOLS+= pax
27 post-extract:
28 ${ECHO} "===> Removing invalid skins"
29 (cd ${WRKSRC} && rm -rf skins/Chameleon/styles/Black*)
31 do-build:
32 sed -e s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME}#g \
33 -e s#@PREFIX@#${PREFIX}#g \
34 < ${FILESDIR}/jalbum > ${WRKDIR}/jalbum
36 do-install:
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"