pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/apache-roller Instead of depending on the entire J...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6674c52d84c8
branches: trunk
changeset: 554367:6674c52d84c8
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Fri Feb 13 15:28:46 2009 +0000
description:
Instead of depending on the entire JDK just for 'jar', in the build process
add a BUILD_DEPENDS for archivers/fastjar
PKGREVISION++
diffstat:
www/apache-roller/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r d6d27c58b726 -r 6674c52d84c8 www/apache-roller/Makefile
--- a/www/apache-roller/Makefile Fri Feb 13 15:28:03 2009 +0000
+++ b/www/apache-roller/Makefile Fri Feb 13 15:28:46 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/13 15:28:46 adrianp Exp $
#
DISTNAME= apache-roller-4.0.1
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://mirror.lividpenguin.com/pub/apache/roller/roller-4/v4.0.1/bin/
EXTRACT_SUFX= .zip
@@ -10,6 +11,8 @@
HOMEPAGE= http://roller.apache.org/
COMMENT= Full-featured, multi-user and group-blog server
+BUILD_DEPENDS+= fastjar-[0-9]*:../../archivers/fastjar
+
USE_JAVA= run
USE_JAVA2= 1.5
@@ -19,8 +22,8 @@
.include "options.mk"
do-build:
- cd ${WRKSRC}/webapp/roller && ${PKG_JAVA_HOME}/bin/jar cvf \
- ../${PKGNAME_NOREV}.war *
+ cd ${WRKSRC}/webapp && ${PREFIX}/bin/fastjar \
+ cf ${PKGNAME_NOREV}.war -C roller/ .
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/apache-roller
Home |
Main Index |
Thread Index |
Old Index