aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/iv/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
committerasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /japanese/iv/Makefile
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadfreebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
freebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst
freebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.zip
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 'japanese/iv/Makefile')
-rw-r--r--japanese/iv/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/japanese/iv/Makefile b/japanese/iv/Makefile
index f3fd9e699c6..08c0f2c46b7 100644
--- a/japanese/iv/Makefile
+++ b/japanese/iv/Makefile
@@ -3,7 +3,7 @@
# Date created: 23.Feb.1996
# Whom: sanpei@yy.cs.keio.ac.jp
#
-# $Id: Makefile,v 1.5 1998/10/16 03:10:45 jseger Exp $
+# $Id: Makefile,v 1.6 1998/10/20 01:23:06 steve Exp $
#
DISTNAME= iv-3.1
@@ -57,6 +57,14 @@ MANN= Adjuster.n Banner.n BasicDialog.n Border.n Box2_6.n \
statevars.n stateviews.n struct.n transfns.n \
transforms.n uctrls.n viewcmds.n
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+IV_LIB_VER= 3
+.else
+IV_LIB_VER= 3.1
+.endif
+
pre-patch:
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/diff-2.0gamma
@@ -69,10 +77,4 @@ post-install:
@${LN} -fs ${PREFIX}/lib/libUnidraw.so.${IV_LIB_VER} ${PREFIX}/lib/libUnidraw.so
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-IV_LIB_VER= 3
-.else
-IV_LIB_VER= 3.1
-.endif
+.include <bsd.port.post.mk>