aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tkstep80
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-06-02 07:29:19 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-06-02 07:29:19 +0000
commit6c1cd273f21f720cbfaba525c585bf86224b6354 (patch)
tree98a613941d5fef800b005ec250befddc056dd818 /x11-toolkits/tkstep80
parent4c488df21a038950b7e6f1396fc13cf016080397 (diff)
downloadports-6c1cd273f21f720cbfaba525c585bf86224b6354.tar.gz
ports-6c1cd273f21f720cbfaba525c585bf86224b6354.zip
Call DEINSTALL.wish to snuff-out extraneous wishes. Remove an archaicism
in non-ja tkstep80.
Notes
Notes: svn path=/head/; revision=29092
Diffstat (limited to 'x11-toolkits/tkstep80')
-rw-r--r--x11-toolkits/tkstep80/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/tkstep80/Makefile b/x11-toolkits/tkstep80/Makefile
index 3148b73da8d2..e6c2c9feedbc 100644
--- a/x11-toolkits/tkstep80/Makefile
+++ b/x11-toolkits/tkstep80/Makefile
@@ -29,6 +29,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-xpm --enable-step --enable-dnd \
--enable-tiff --with-optimize="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/INSTALL.wish
+PKGDEINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/DEINSTALL.wish
post-install:
@${RM} ${PREFIX}/lib/tkstep8.0/demos/*.orig
@@ -40,13 +42,11 @@ post-install:
.endif
${LN} -sf ${PREFIX}/lib/libtkstep80.so.1 ${PREFIX}/lib/libtkstep80.so
${LDCONFIG} -m ${PREFIX}/lib
-.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish)
- ${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
+.if exists(${PKGINSTALL})
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
test:
cd ${WRKSRC}; make test
.include <bsd.port.mk>
-
-PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish