summaryrefslogtreecommitdiffstats
path: root/japanese/iv
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 /japanese/iv
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 'japanese/iv')
-rw-r--r--japanese/iv/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/japanese/iv/Makefile b/japanese/iv/Makefile
index f3fd9e69..08c0f2c 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>
OpenPOWER on IntegriCloud