summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk80/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerasami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /x11-toolkits/tk80/Makefile
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadFreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.zip
FreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
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 ddfb9aa..9dfc118 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>
OpenPOWER on IntegriCloud