summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tkstep80
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-06-02 07:29:19 +0000
committerhoek <hoek@FreeBSD.org>2000-06-02 07:29:19 +0000
commit073a50e09924924dd87b668acb231ce78fa15ace (patch)
treee7cfc01542a2cb3b0bffe494037d06116d556777 /x11-toolkits/tkstep80
parentc64a76d21985db89875ac07f1b316585ff0493c6 (diff)
downloadFreeBSD-ports-073a50e09924924dd87b668acb231ce78fa15ace.zip
FreeBSD-ports-073a50e09924924dd87b668acb231ce78fa15ace.tar.gz
Call DEINSTALL.wish to snuff-out extraneous wishes. Remove an archaicism
in non-ja tkstep80.
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 3148b73..e6c2c9f 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
OpenPOWER on IntegriCloud