2009-07-07 21:07:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2009/07/07 19:07:35 joerg Exp $
|
2005-06-23 09:30:04 +02:00
|
|
|
|
2006-11-10 11:34:26 +01:00
|
|
|
DISTNAME= JAlbum${VERSION}
|
|
|
|
PKGNAME= jalbum-${VERSION}
|
2006-03-10 10:05:25 +01:00
|
|
|
#PKGREVISION= 1
|
2005-06-23 09:30:04 +02:00
|
|
|
CATEGORIES= www
|
2006-10-14 10:24:59 +02:00
|
|
|
MASTER_SITES= http://jalbum.net/download/
|
2006-10-16 13:17:21 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2005-06-23 09:30:04 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= martti@NetBSD.org
|
2006-10-14 10:24:59 +02:00
|
|
|
HOMEPAGE= http://jalbum.net/
|
2005-06-23 09:30:04 +02:00
|
|
|
COMMENT= Web photo album generator
|
2009-05-12 14:27:19 +02:00
|
|
|
LICENSE= gnu-lgpl-v2
|
2005-06-23 09:30:04 +02:00
|
|
|
|
2009-07-07 21:07:35 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-04-12 12:24:02 +02:00
|
|
|
VERSION= 7.1
|
2006-11-10 11:34:26 +01:00
|
|
|
|
2005-06-23 09:30:04 +02:00
|
|
|
USE_JAVA= run
|
|
|
|
PKG_JVMS_ACCEPTED= blackdown-jdk13 kaffe sun-jdk13 sun-jdk14 sun-jdk15
|
|
|
|
|
2006-03-10 10:05:25 +01:00
|
|
|
WRKSRC= ${WRKDIR}/JAlbum
|
2005-11-16 07:51:27 +01:00
|
|
|
|
2006-10-16 13:17:21 +02:00
|
|
|
INSTALLATION_DIRS+= ${PREFIX:Q}/share/jalbum
|
|
|
|
|
2008-05-25 23:42:20 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2005-06-23 09:30:04 +02:00
|
|
|
do-build:
|
2006-10-16 13:17:21 +02:00
|
|
|
sed -e s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME:Q}#g \
|
2006-03-10 10:05:25 +01:00
|
|
|
-e s#@PREFIX@#${PREFIX:Q}#g \
|
2006-02-17 08:55:57 +01:00
|
|
|
< ${FILESDIR:Q}/jalbum > ${WRKDIR:Q}/jalbum
|
2005-06-23 09:30:04 +02:00
|
|
|
|
|
|
|
do-install:
|
2009-07-07 21:07:35 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR:Q}/jalbum ${DESTDIR}${PREFIX}/bin
|
|
|
|
(cd ${WRKDIR:Q}/JAlbum && pax -rw * ${DESTDIR}${PREFIX}/share/jalbum)
|
2005-06-23 09:30:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|