aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk80/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/tk80/Makefile')
-rw-r--r--x11-toolkits/tk80/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/x11-toolkits/tk80/Makefile b/x11-toolkits/tk80/Makefile
index ddfb9aac105a..9dfc1185fb28 100644
--- a/x11-toolkits/tk80/Makefile
+++ b/x11-toolkits/tk80/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id: Makefile,v 1.12 1998/09/17 22:31:32 steve Exp $
+# $Id: Makefile,v 1.13 1998/11/11 02:02:14 asami Exp $
#
DISTNAME= tk8.0p2
@@ -20,12 +20,21 @@ WRKSRC= ${WRKDIR}/tk8.0/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+EXTRA_PKG_ARGS= -i ${PKGDIR}/INSTALL.wish
SHLIB_MAJOR= 1
SHLIB_MINOR= 2
MAKEFILE= makefile
TK_LIB= libtk80.so
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}
+.else
+TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR}
+.endif
+
post-configure:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
@${CP} ${FILESDIR}/makefile ${WRKSRC}
@@ -44,12 +53,4 @@ post-install:
test:
cd ${WRKSRC}; make test
-.include <bsd.port.mk>
-
-PKG_ARGS+= -i ${PKGDIR}/INSTALL.wish
-
-.if ${PORTOBJFORMAT} == "elf"
-TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}
-.else
-TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR}
-.endif
+.include <bsd.port.post.mk>