summaryrefslogtreecommitdiff
path: root/graphics/libungif
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /graphics/libungif
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include <bsd.port.mk> to before. (This is not by any means the complete list but just the ones I've noticed recently.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'graphics/libungif')
-rw-r--r--graphics/libungif/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index 04483b3ca512..d0d0e0eb89a6 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/Makefile
@@ -3,7 +3,7 @@
# Date created: 03 May 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp $
+# $Id: Makefile,v 1.3 1998/09/19 01:22:38 steve Exp $
#
DISTNAME= giflib-3.0
@@ -12,6 +12,14 @@ MASTER_SITES= http://www.ccil.org/~esr/giflib/
MAINTAINER= tg@FreeBSD.ORG
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+GIFLIB= libgif.so.3
+.else
+GIFLIB= libgif.so.3.0
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/giflib
@@ -19,10 +27,4 @@ post-install:
.endif
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-GIFLIB= libgif.so.3
-.else
-GIFLIB= libgif.so.3.0
-.endif
+.include <bsd.port.post.mk>