pkgsrc/graphics/giflib/Makefile

40 lines
907 B
Makefile

# $NetBSD: Makefile,v 1.23 2000/07/25 04:57:24 jlam Exp $
#
DISTNAME= giflib-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= libungif-*
BUILD_DEPENDS+= autoreconf:../../devel/autoconf
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ARGS= --without-x
DOCDIR= ${PREFIX}/share/doc/giflib
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
.endif
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
pre-configure:
cd ${WRKSRC} && autoreconf
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} COPYING PATENT_PROBLEMS ${DOCDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DOCDIR}
.include "../../mk/bsd.pkg.mk"