pkgsrc/graphics/libungif/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2004/10/03 00:14:55 tv Exp $
DISTNAME= libungif-4.1.3
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libungif/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://libungif.sourceforge.net/
COMMENT= Tools and library routines for working with GIF images
CONFLICTS= giflib-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-x
CONFIGURE_ENV+= ac_cv_lib_X11_main=no
DOCDIR= ${PREFIX}/share/doc/libungif
HTMLDIR= ${PREFIX}/share/doc/html/libungif
REPLACE_PERL= util/gifburst
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
post-install:
cd ${PREFIX}; \
for f in libungif.a libungif.so libungif.so.5 libungif.so.5.3; do \
g=`echo $$f | ${SED} "s,libungif,libgif,"`; \
${LN} -sf $$f ${PREFIX}/lib/$$g; \
done
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} COPYING UNCOMPRESSED_GIF ${DOCDIR}
${INSTALL_DATA_DIR} ${HTMLDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${HTMLDIR}
.include "../../mk/bsd.pkg.mk"