diff options
Diffstat (limited to '')
-rw-r--r-- | graphics/libungif/Makefile | 18 |
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> |