From e7833c2cd57278d2546a1e0a8337afb1d4643cc1 Mon Sep 17 00:00:00 2001 From: hq Date: Fri, 6 Feb 2009 23:49:44 +0000 Subject: Add missing PATCH_DEPENDS=unzip Reported by: QAT --- www/pebble/Makefile | 5 +++-- 1 file 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} -- cgit