summaryrefslogtreecommitdiff
path: root/games
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 /games
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 'games')
-rw-r--r--games/libshhcards/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile
index ce69f3a2017f..26197db1e98e 100644
--- a/games/libshhcards/Makefile
+++ b/games/libshhcards/Makefile
@@ -3,7 +3,7 @@
# Date created: 12 April 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.3 1998/09/28 02:08:56 steve Exp $
+# $Id: Makefile,v 1.4 1998/10/01 06:08:59 steve Exp $
#
DISTNAME= shhcards-1.0.3
@@ -18,6 +18,14 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
SOLIB= libshhcards.so
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+SOVERSION= 1
+.else
+SOVERSION= 1.1
+.endif
+
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/${SOLIB}.${SOVERSION} ${PREFIX}/lib
@@ -27,10 +35,4 @@ do-install:
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhcards
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-SOVERSION= 1
-.else
-SOVERSION= 1.1
-.endif
+.include <bsd.port.post.mk>