1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/giflib/Makefile
Satoshi Asami dbc8aa6cc1 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.)
1998-11-11 05:37:39 +00:00

31 lines
673 B
Makefile

# New ports collection makefile for: giflib
# Version required: 3.0
# Date created: 03 May 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.3 1998/09/19 01:22:38 steve Exp $
#
DISTNAME= giflib-3.0
CATEGORIES= graphics
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
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
.endif
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>