2019-05-02 10:36:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2019/05/02 08:36:10 wiz Exp $
|
2005-06-23 09:30:04 +02:00
|
|
|
|
2009-09-13 19:28:03 +02:00
|
|
|
DISTNAME= Jalbum${VERSION}
|
2006-11-10 11:34:26 +01:00
|
|
|
PKGNAME= jalbum-${VERSION}
|
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
|
|
|
|
|
2010-09-28 15:21:29 +02:00
|
|
|
MAINTAINER= pkgsrc-users@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-12-16 21:02:01 +01:00
|
|
|
VERSION= 8.5.3
|
2006-11-10 11:34:26 +01:00
|
|
|
|
2009-09-14 08:20:50 +02:00
|
|
|
USE_JAVA2= 1.5
|
2019-05-02 10:36:09 +02:00
|
|
|
PKG_JVMS_ACCEPTED= sun-jdk7
|
2005-06-23 09:30:04 +02:00
|
|
|
|
2009-09-13 19:28:03 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Jalbum
|
2005-11-16 07:51:27 +01:00
|
|
|
|
2009-10-07 20:03:13 +02:00
|
|
|
INSTALLATION_DIRS+= bin ${PREFIX}/share/jalbum
|
2006-10-16 13:17:21 +02:00
|
|
|
|
2008-05-25 23:42:20 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2016-03-25 22:03:09 +01:00
|
|
|
CHECK_SHLIBS_SKIP+= share/jalbum/lib/*
|
2017-10-09 17:26:11 +02:00
|
|
|
CHECK_SSP_SKIP+= ${CHECK_SHLIBS_SKIP}
|
2016-03-25 22:03:09 +01:00
|
|
|
|
2009-09-13 19:28:03 +02:00
|
|
|
post-extract:
|
|
|
|
${ECHO} "===> Removing invalid skins"
|
|
|
|
(cd ${WRKSRC} && rm -rf skins/Chameleon/styles/Black*)
|
|
|
|
|
2005-06-23 09:30:04 +02:00
|
|
|
do-build:
|
2009-09-13 19:28:03 +02:00
|
|
|
sed -e s#@PKG_JAVA_HOME@#${PKG_JAVA_HOME}#g \
|
|
|
|
-e s#@PREFIX@#${PREFIX}#g \
|
|
|
|
< ${FILESDIR}/jalbum > ${WRKDIR}/jalbum
|
2005-06-23 09:30:04 +02:00
|
|
|
|
|
|
|
do-install:
|
2009-09-13 19:28:03 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jalbum ${DESTDIR}${PREFIX}/bin
|
2009-10-07 20:03:13 +02:00
|
|
|
cd ${WRKDIR}/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"
|