blob: 201e817736044b68f126f0597081b7d7b0337e53 (
plain)
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
35
|
# $NetBSD: Makefile,v 1.5 2013/05/31 12:41:06 wiz Exp $
#
.include "../../graphics/giflib/Makefile.common"
PKGNAME= giflib-util-4.1.6
PKGREVISION= 2
COMMENT= GIF image format utility
CONFLICTS+= libungif-[0-9]*
USE_TOOLS+= perl:run
REPLACE_PERL+= util/gifburst
INSTALL_DIRS+= util doc
HTMLDIR= ${PREFIX}/share/doc/html/giflib
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
do-build:
(cd ${WRKSRC}/lib && ${SETENV} ${BUILD_ENV} ${MAKE} libgetarg.a)
(cd ${WRKSRC}/util && ${SETENV} ${BUILD_ENV} ${MAKE})
(cd ${WRKSRC}/doc && ${SETENV} ${BUILD_ENV} ${MAKE})
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DESTDIR}${HTMLDIR}
.include "../../mk/giflib.buildlink3.mk"
.if ${GIFLIB_IMPLEMENTATION} == "libungif"
PKG_FAIL_REASON= "please use graphics/libungif"
.endif
.include "../../mk/bsd.pkg.mk"
|