d774deab54
This release sets the error return properly when a screen descriptor read fails, and fixes minor API documentation bugs.
27 lines
736 B
Makefile
27 lines
736 B
Makefile
# $NetBSD: Makefile,v 1.7 2013/08/31 18:41:33 adam Exp $
|
|
|
|
.include "../../graphics/giflib/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-util-/}
|
|
|
|
COMMENT= GIF image format utility
|
|
|
|
CONFLICTS+= libungif-[0-9]*
|
|
|
|
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
|
|
BUILD_DIRS+= util doc
|
|
HTMLDIR= share/doc/giflib
|
|
INSTALLATION_DIRS= ${HTMLDIR} ${HTMLDIR}/whatsinagif
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt \
|
|
${DESTDIR}${PREFIX}/${HTMLDIR}
|
|
cd ${WRKSRC}/doc/whatsinagif; ${INSTALL_DATA} *.html *.gif \
|
|
${DESTDIR}${PREFIX}/${HTMLDIR}/whatsinagif
|
|
|
|
.include "../../mk/giflib.buildlink3.mk"
|
|
.if ${GIFLIB_IMPLEMENTATION} == "libungif"
|
|
PKG_FAIL_REASON= "please use graphics/libungif"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|