diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /graphics/libungif | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'graphics/libungif')
-rw-r--r-- | graphics/libungif/Makefile | 26 | ||||
-rw-r--r-- | graphics/libungif/buildlink2.mk | 20 |
2 files changed, 30 insertions, 16 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile index 8b4ffd8e623..2d74c954ff6 100644 --- a/graphics/libungif/Makefile +++ b/graphics/libungif/Makefile @@ -1,16 +1,16 @@ -# $NetBSD: Makefile,v 1.20 2002/03/14 18:18:19 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2002/08/25 18:39:15 jlam Exp $ # -DISTNAME= libungif-4.1.0b1 -PKGNAME= libungif-4.1.0.1 -CATEGORIES= graphics -MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ +DISTNAME= libungif-4.1.0b1 +PKGNAME= libungif-4.1.0.1 +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 -COMMENT= Tools and library routines for working with GIF images +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml +COMMENT= Tools and library routines for working with GIF images -CONFLICTS= giflib-[0-9]* +CONFLICTS= giflib-[0-9]* USE_LIBTOOL= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig @@ -18,17 +18,11 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig GNU_CONFIGURE= # defined CONFIGURE_ARGS= --without-x -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined DOCDIR= ${PREFIX}/share/doc/libungif HTMLDIR= ${PREFIX}/share/doc/html/libungif -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include" -.endif - post-patch: ${RM} ${WRKSRC}/doc/gif2x11.html diff --git a/graphics/libungif/buildlink2.mk b/graphics/libungif/buildlink2.mk new file mode 100644 index 00000000000..26c7331c43d --- /dev/null +++ b/graphics/libungif/buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:16 jlam Exp $ + +.if !defined(LIBUNGIF_BUILDLINK2_MK) +LIBUNGIF_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libungif +BUILDLINK_DEPENDS.libungif?= libungif>=4.1.0 +BUILDLINK_PKGSRCDIR.libungif?= ../../graphics/libungif + +EVAL_PREFIX+= BUILDLINK_PREFIX.libungif=libungif +BUILDLINK_PREFIX.libungif_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libungif= include/gif_lib.h +BUILDLINK_FILES.libungif+= lib/libgif.* +BUILDLINK_FILES.libungif+= lib/libungif.* + +BUILDLINK_TARGETS+= libungif-buildlink + +libungif-buildlink: _BUILDLINK_USE + +.endif # LIBUNGIF_BUILDLINK2_MK |