freebsd-ports/graphics/libungif/Makefile
2011-08-06 07:10:48 +00:00

43 lines
979 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.4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF/giflib/${PORTNAME}%204.x/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= ${NOX11SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Tools and library routines for working with GIF images
#DEPRECATED= is replaced by libgif
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.if defined(WITHOUT_X11)
PLIST_SUB+= X11='@comment '
CONFIGURE_ARGS+= --with-x=no
NOX11SUFFIX= -nox11
.else
USE_XORG= sm x11
PLIST_SUB+= X11=''
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/UNCOMPRESSED_GIF ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>