diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
commit | dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch) | |
tree | deebef625a152490a0bbcb7e5602d05a59b1c010 /graphics/giflib | |
parent | c2e32ac36f406a78d4fb097baacb7fd65c4817d8 (diff) |
Notes
Diffstat (limited to 'graphics/giflib')
-rw-r--r-- | graphics/giflib/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index 04483b3ca512..d0d0e0eb89a6 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> |