diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2009-02-06 23:49:44 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2009-02-06 23:49:44 +0000 |
commit | f408386284c51008986386086ea1e66ec44566e8 (patch) | |
tree | f9a4fcc5d0c731ef24375ad8102198f2dfddf1b2 /www | |
parent | fefeecc7ef4ba5e4a4d507cec012bb6779f5971f (diff) | |
download | ports-f408386284c51008986386086ea1e66ec44566e8.tar.gz ports-f408386284c51008986386086ea1e66ec44566e8.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/pebble/Makefile | 5 |
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} |