developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2006/03/04 21:29:50 jlam Exp $
|
|
|
|
DISTNAME= libungif-4.1.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libungif/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= 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}/lib && \
|
|
for SOURCE in libungif.*; do \
|
|
TARGET=`echo $$SOURCE | ${SED} -e s/libungif/libgif/`; \
|
|
${RM} -f $$TARGET; \
|
|
if [ $$SOURCE = libungif.la ]; then \
|
|
${SED} -e s/libungif/libgif/g $$SOURCE >$$TARGET; \
|
|
${CHMOD} 755 $$TARGET; \
|
|
else \
|
|
${LN} -s $$SOURCE $$TARGET; \
|
|
fi; \
|
|
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"
|