diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-11-07 20:59:27 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-11-07 20:59:27 +0000 |
commit | a8af5892e3606c42cdc24ed3b087966a73db80e3 (patch) | |
tree | 189b72187717810bdcab435c50ffc25974dd56d4 /japanese/xgate | |
parent | 9f5f32afe529dbee88840a9634f4317fb4b529ce (diff) | |
download | ports-a8af5892e3606c42cdc24ed3b087966a73db80e3.tar.gz ports-a8af5892e3606c42cdc24ed3b087966a73db80e3.zip |
Notes
Diffstat (limited to 'japanese/xgate')
-rw-r--r-- | japanese/xgate/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/japanese/xgate/Makefile b/japanese/xgate/Makefile index 539035ef35dd..48a13d8f23c1 100644 --- a/japanese/xgate/Makefile +++ b/japanese/xgate/Makefile @@ -47,7 +47,7 @@ RESTRICTED= Commercial license .include <bsd.port.pre.mk> .if ${OSVERSION} < 800000 -BROKEN= does not extract on FreeBSD 7.X +EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip .endif APP_HOME!= ${MAKE} -C ${PORTSDIR}/www/tomcat6 -VAPP_HOME @@ -73,7 +73,11 @@ CNFLSTS= account/admin.ndt \ post-extract: @${MKDIR} ${WRKSRC}/xgate - @cd ${WRKSRC}/xgate && ${TAR} xf ../xgate.war +.if ${OSVERSION} < 800000 + @${UNZIP_CMD} ${WRKSRC}/xgate.war -d ${WRKSRC}/xgate +.else + @${TAR} xvf ${WRKSRC}/xgate.war -C ${WRKSRC}/xgate +.endif .for conf in ${CNFLSTS} @cd ${WRKSRC}/xgate/WEB-INF && ${MV} ${conf} ${conf}-dist .endfor |