pkgsrc/graphics/libungif/Makefile

39 lines
955 B
Makefile

# $NetBSD: Makefile,v 1.5 2000/06/03 20:11:11 wiz Exp $
#
DISTNAME= libungif-4.1.0
CATEGORIES= graphics
MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml
CONFLICTS= giflib-*
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-x
DOCDIR= ${PREFIX}/share/doc/libungif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
.endif
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
post-install:
cd ${PREFIX}; for f in libungif.a libungif.so.5.0; 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}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DOCDIR}
.include "../../mk/bsd.pkg.mk"