summaryrefslogtreecommitdiff
path: root/x11-toolkits/blt
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /x11-toolkits/blt
parentChecksum changed.... (diff)
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.
Notes
Notes: svn path=/head/; revision=14512
Diffstat (limited to '')
-rw-r--r--x11-toolkits/blt/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index 8086dd61c78d..4739dbbfc479 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -3,7 +3,7 @@
# Date created: 22 September 1998
# Whom: Kenjiro Cho <kjc@csl.sony.co.jp>
#
-# $Id: Makefile,v 1.22 1998/10/14 03:00:44 jseger Exp $
+# $Id: Makefile,v 1.23 1998/10/20 01:24:32 steve Exp $
#
DISTNAME= BLT2.4f
@@ -22,14 +22,16 @@ MANN= BLT.n barchart.n bgexec.n bitmap.n bltdebug.n busy.n \
stripchart.n table.n tabset.n tile.n vector.n watch.n winop.n \
beep.n cutbuffer.n
-post-install:
- ${LN} -sf libBLT.so.${SO_VERSION} ${PREFIX}/lib/libBLT.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
SO_VERSION= 2
.else
SO_VERSION= 2.4
.endif
+
+post-install:
+ ${LN} -sf libBLT.so.${SO_VERSION} ${PREFIX}/lib/libBLT.so
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.post.mk>