blob: a4dd1dfb1999dc620a51efd2df5d54e9388a80be (
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
|
# $NetBSD: Makefile,v 1.4 2006/01/10 06:37:11 martti Exp $
DISTNAME= JAlbum6.1
PKGNAME= jalbum-6.1.6
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"
|