blob: fa7668695aa8a53211e519dd6003944294b17afa (
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
|
# $NetBSD: Makefile,v 1.15 2006/10/16 11:17:21 martti Exp $
DISTNAME= JAlbum6.5
PKGNAME= jalbum-6.5.3
#PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://jalbum.net/download/
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= .zip
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://jalbum.net/
COMMENT= Web photo album generator
USE_JAVA= run
PKG_JVMS_ACCEPTED= blackdown-jdk13 kaffe sun-jdk13 sun-jdk14 sun-jdk15
WRKSRC= ${WRKDIR}/JAlbum
INSTALLATION_DIRS+= ${PREFIX:Q}/share/jalbum
do-build:
sed -e s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME:Q}#g \
-e s#@PREFIX@#${PREFIX:Q}#g \
< ${FILESDIR:Q}/jalbum > ${WRKDIR:Q}/jalbum
do-install:
${INSTALL_SCRIPT} ${WRKDIR:Q}/jalbum ${PREFIX:Q}/bin
(cd ${WRKDIR:Q}/JAlbum && pax -rw * ${PREFIX:Q}/share/jalbum)
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|