freebsd-ports/graphics/libungif/Makefile
Dag-Erling Smørgrav 1751fde39a For some mysterious reason, libungif prefers the antiquated <varargs.h>
to <stdarg.h>.  Unfortunately, it fails to build with gcc 3.3, so hack
configure to not test for the presence of <varargs.h>.
2003-07-18 06:53:33 +00:00

42 lines
910 B
Makefile

# New ports collection makefile for: libungif
# Date created: 03 May 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libungif
PORTVERSION= 4.1.0b1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ \
ftp://ftp.ayamura.org/pub/graphics/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools and library routines for working with GIF images
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
.ifdef (WITHOUT_X11)
PLIST_SUB+= X11='@comment '
CONFIGURE_ARGS+=--with-x=no
PKGNAMESUFFIX= -nox11
.else
USE_XLIB= yes
PLIST_SUB+= X11=''
.endif
DOCDIR= ${PREFIX}/share/doc/libungif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/UNCOMPRESSED_GIF ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCDIR}
.endif
.include <bsd.port.mk>