pkgsrc/www/jalbum/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.33 2019/05/02 08:36:10 wiz Exp $
DISTNAME= Jalbum${VERSION}
PKGNAME= jalbum-${VERSION}
CATEGORIES= www
MASTER_SITES= http://jalbum.net/download/
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= .zip
2010-09-28 15:21:29 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jalbum.net/
COMMENT= Web photo album generator
2009-05-12 14:27:19 +02:00
LICENSE= gnu-lgpl-v2
VERSION= 8.5.3
2009-09-14 08:20:50 +02:00
USE_JAVA2= 1.5
PKG_JVMS_ACCEPTED= sun-jdk7
WRKSRC= ${WRKDIR}/Jalbum
2009-10-07 20:03:13 +02:00
INSTALLATION_DIRS+= bin ${PREFIX}/share/jalbum
USE_TOOLS+= pax
CHECK_SHLIBS_SKIP+= share/jalbum/lib/*
CHECK_SSP_SKIP+= ${CHECK_SHLIBS_SKIP}
post-extract:
${ECHO} "===> Removing invalid skins"
(cd ${WRKSRC} && rm -rf skins/Chameleon/styles/Black*)
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 ${DESTDIR}${PREFIX}/bin
2009-10-07 20:03:13 +02:00
cd ${WRKDIR}/Jalbum && pax -rw . ${DESTDIR}${PREFIX}/share/jalbum
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"