summaryrefslogtreecommitdiff
path: root/x11-toolkits/tk82
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:49:14 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:49:14 +0000
commit9b966a20355d47ece20cb6a76a2b51d4054370f9 (patch)
tree782652ebfaba6629b99ca9341ffb3f13e5f0ac42 /x11-toolkits/tk82
parentDon't write stuff to places other than ${WRKDIR}. (diff)
Use PKG* variables instead of adding extra files to PKG_ARGS.
Notes
Notes: svn path=/head/; revision=15322
Diffstat (limited to 'x11-toolkits/tk82')
-rw-r--r--x11-toolkits/tk82/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile
index 53c47fdab23e..459a9f9f1509 100644
--- a/x11-toolkits/tk82/Makefile
+++ b/x11-toolkits/tk82/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id: Makefile,v 1.18 1998/11/11 02:02:14 asami Exp $
+# $Id: Makefile,v 1.19 1998/12/01 03:06:48 asami Exp $
#
DISTNAME= tk8.1a2
@@ -22,6 +22,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
MAN1= wish.1
MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \
@@ -48,15 +49,15 @@ MANN= bell.n bind.n bindtags.n bitmap.n button.n canvas.n checkbutton.n \
tkvars.n tkwait.n toplevel.n winfo.n wm.n
MANCOMPRESSED= yes
+.include <bsd.port.pre.mk>
+
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${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
+.include <bsd.port.post.mk>