diff options
author | ak <ak@FreeBSD.org> | 2012-04-18 00:08:57 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-04-18 00:08:57 +0800 |
commit | 878dc20293826abd5600137039a591d916cb19c4 (patch) | |
tree | 7df1f6b7c7ac93cc895ee2006a66e10c8380d255 /java/sun-wtk | |
parent | 8d351efafadc98fc1db028a91474a062153069c4 (diff) | |
download | freebsd-ports-gnome-878dc20293826abd5600137039a591d916cb19c4.tar.gz freebsd-ports-gnome-878dc20293826abd5600137039a591d916cb19c4.tar.zst freebsd-ports-gnome-878dc20293826abd5600137039a591d916cb19c4.zip |
- fix explicit use of unzip
- deprecate: no more public distfiles, merged with Java ME SDK 3.0 upstream
Approved by: eadler (mentor)
Diffstat (limited to 'java/sun-wtk')
-rw-r--r-- | java/sun-wtk/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/sun-wtk/Makefile b/java/sun-wtk/Makefile index cd8b5d8db320..5688a92158df 100644 --- a/java/sun-wtk/Makefile +++ b/java/sun-wtk/Makefile @@ -17,6 +17,9 @@ EXTRACT_SUFX= .bin MAINTAINER= ports@FreeBSD.org COMMENT= Sun J2ME Wireless Toolkit +DEPRECATED= no more public distfiles, merged with Java ME SDK 3.0 upstream +EXPIRATION_DATE= 2013-01-01 + EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip USE_LINUX= yes @@ -41,7 +44,7 @@ do-extract: @cd ${WRKDIR} \ && dd bs=1024 if=${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ of=${WRKDIR}/j2mewtk-solaris.zip skip=20 2>/dev/null - @${LOCALBASE}/bin/unzip -qo ${WRKDIR}/j2mewtk-solaris.zip -d ${WRKSRC} + @${UNZIP_CMD} -qo ${WRKDIR}/j2mewtk-solaris.zip -d ${WRKSRC} @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 0644 {} \+ @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 0755 {} \+ @${FIND} ${WRKSRC}/bin ! -name '*.jar' -exec ${CHMOD} 0755 {} \; |