summaryrefslogtreecommitdiffstats
path: root/graphics/giflib
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commit559e1bc28bd975c38b561de15be3918ba1f71b5e (patch)
treecda169bf1e41b7166c2d2febd3d858c1411d0e64 /graphics/giflib
parent7aed28166a84f266be861367fc9a1add43f9219a (diff)
downloadFreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip
FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz
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.)
Diffstat (limited to 'graphics/giflib')
-rw-r--r--graphics/giflib/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 04483b3..d0d0e0e 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/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>
OpenPOWER on IntegriCloud