pkgsrc/graphics/giflib-util/Makefile

25 lines
648 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2015/01/16 09:35:43 wiz 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 "../../graphics/giflib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"