blob: 0f699e07a09b5f56eba37d9e45cc8d0099aa4ef6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Thomas Gellekum <tg@FreeBSD.org>
PORTNAME= giflib
PORTVERSION= 5.2.1
PORTREVISION= 0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= portmgr@FreeBSD.org
COMMENT= Tools and library routines for working with GIF images
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ghead:sysutils/coreutils
USES= cpe gmake
USE_LDCONFIG= yes
CFLAGS+= -DHAVE_REALLOCARRAY
MAKE_ARGS= CC=${CC} LDFLAGS="${LDFLAGS}" MANDIR=${MANPREFIX}/man OFLAGS="${CFLAGS}" PREFIX="${PREFIX}"
CPE_VENDOR= giflib_project
OPTIONS_DEFINE= DOCS
TEST_TARGET= check
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! ( -name Makefile -o -name *\.1 -o -name *\.in -o -name *\.xml )"
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
${STRIP_CMD} --strip-unneeded ${STAGEDIR}${PREFIX}/lib/libgif.so.7.2.0
.include <bsd.port.mk>
|