diff options
author | glewis <glewis@FreeBSD.org> | 2005-11-23 18:12:33 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-11-23 18:12:33 +0800 |
commit | 0e3a5a4e890150491b7564225f3562e1d4e16b48 (patch) | |
tree | bd78cd9b99ea841d016878b7923e04605f675cde /java/jdk16/Makefile | |
parent | e3e97b51cbfe43cf34444a94d87445b14533d957 (diff) | |
download | freebsd-ports-gnome-0e3a5a4e890150491b7564225f3562e1d4e16b48.tar.gz freebsd-ports-gnome-0e3a5a4e890150491b7564225f3562e1d4e16b48.tar.zst freebsd-ports-gnome-0e3a5a4e890150491b7564225f3562e1d4e16b48.zip |
. Make pkg-install install a symbolic link for the browser plugin if a
valid one doesn't currently exist.
. Add a pkg-deinstall which removes the symbolic link if this port owns it.
. Produce pkg-install and pkg-deinstall with SUB_FILES and SUB_LIST rather
than manually using ${SED} ourselves.
Approved by: maintainer timeout
Diffstat (limited to 'java/jdk16/Makefile')
-rw-r--r-- | java/jdk16/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile index dbbb3fe1c077..a87e5f7674b1 100644 --- a/java/jdk16/Makefile +++ b/java/jdk16/Makefile @@ -48,6 +48,11 @@ MAKE_ENV+= ALT_MOZILLA_HEADERS_PATH="${X11BASE}/include" .endif PKGINSTALL= ${WRKDIR}/pkg-install +PKGDEINSTALL= ${WRKDIR}/pkg-deinstall +SUB_FILES+= pkg-install \ + pkg-deinstall +SUB_LIST+= JRE_HOME=${PREFIX}/jdk${JDK_VERSION}/jre \ + ARCH=${MACHINE_ARCH} WRKSRC= ${WRKDIR}/control/make @@ -301,8 +306,6 @@ do-install: # XXX: put unregistervm into install script ? post-install: @${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" - @${SED} -e "s:%%JRE_HOME%%:${PREFIX}/jdk${JDK_VERSION}/jre:g" \ - < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.post.mk> |