aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2009-02-07 07:49:44 +0800
committerhq <hq@FreeBSD.org>2009-02-07 07:49:44 +0800
commite7833c2cd57278d2546a1e0a8337afb1d4643cc1 (patch)
tree81a60513f8c24add21d2bbfa460ff6fa87565cc8
parentb2007f8cd5551419abc757a0b5214e5025a8e4a2 (diff)
downloadfreebsd-ports-gnome-e7833c2cd57278d2546a1e0a8337afb1d4643cc1.tar.gz
freebsd-ports-gnome-e7833c2cd57278d2546a1e0a8337afb1d4643cc1.tar.zst
freebsd-ports-gnome-e7833c2cd57278d2546a1e0a8337afb1d4643cc1.zip
Add missing PATCH_DEPENDS=unzip
Reported by: QAT
-rw-r--r--www/pebble/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/pebble/Makefile b/www/pebble/Makefile
index 820d37b8f3b1..cd8379cb5d1f 100644
--- a/www/pebble/Makefile
+++ b/www/pebble/Makefile
@@ -14,7 +14,8 @@ MASTER_SITE_SUBDIR= pebble
MAINTAINER= hq@FreeBSD.org
COMMENT= Lightweight, open source, Java EE blogging tool
-PATCH_DEPENDS= zip:${PORTSDIR}/archivers/zip
+PATCH_DEPENDS= zip:${PORTSDIR}/archivers/zip \
+ unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS= ${LOCALBASE}/apache-tomcat6.0/bin/catalina.sh:${PORTSDIR}/www/tomcat6
USE_ZIP= yes
@@ -41,7 +42,7 @@ PLIST_FILES= ${WEBAPP_SUBDIR}/${PORTNAME}.war etc/pebble.properties.sample
PEBBLE_CONTEXT= WEB-INF/applicationContext-pebble.xml
do-patch:
- cd ${WRKSRC} && ${UNZIP_CMD} -o pebble.war "${PEBBLE_CONTEXT}"
+ cd ${WRKSRC} && ${LOCALBASE}/bin/unzip -o pebble.war "${PEBBLE_CONTEXT}"
${SED} -i.bak 's,/WEB-INF/pebble\.properties,file:${PEBBLE_PROPERTIES},' "${WRKSRC}/${PEBBLE_CONTEXT}"
cd ${WRKSRC} && ${LOCALBASE}/bin/zip -u pebble.war ${PEBBLE_CONTEXT}