blob: eae6953f29d87f5123b47c35aad58f0c6cc550be (
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
|
# $NetBSD: Makefile,v 1.6 2006/02/05 23:11:24 joerg Exp $
DISTNAME= JAlbum6.2
PKGNAME= jalbum-6.2
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.jalbum.net/download/
EXTRACT_SUFX= .zip
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.jalbum.net/
COMMENT= Web photo album generator
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_JAVA= run
PKG_JVMS_ACCEPTED= blackdown-jdk13 kaffe sun-jdk13 sun-jdk14 sun-jdk15
WRKSRC= ${WRKDIR}/JAlbum
do-build:
${SED} -e "s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME}#g" \
-e "s#@PREFIX@#${PREFIX}#g" \
< ${FILESDIR}/jalbum > ${WRKDIR}/jalbum
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jalbum ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/jalbum
(cd ${WRKDIR}/JAlbum && ${PAX} -rw * ${PREFIX}/share/jalbum)
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|