diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/giflib-util/Makefile | 22 | ||||
-rw-r--r-- | graphics/giflib/Makefile | 15 | ||||
-rw-r--r-- | graphics/giflib/Makefile.common | 19 |
3 files changed, 29 insertions, 27 deletions
diff --git a/graphics/giflib-util/Makefile b/graphics/giflib-util/Makefile index a9185c5961a..8d104ff3af5 100644 --- a/graphics/giflib-util/Makefile +++ b/graphics/giflib-util/Makefile @@ -1,26 +1,15 @@ -# $NetBSD: Makefile,v 1.1 2011/09/06 18:45:46 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2012/02/15 11:08:46 obache Exp $ # -DISTNAME= giflib-4.1.6 -PKGNAME= giflib-util-4.1.6 -CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} -EXTRACT_SUFX= .tar.bz2 +.include "../../graphics/giflib/Makefile.common" -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://giflib.sourceforge.net/ -COMMENT= GIF image format library -LICENSE= mit +PKGNAME= giflib-util-4.1.6 -PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches -DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo +COMMENT= GIF image format utility CONFLICTS+= libungif-[0-9]* PKG_DESTDIR_SUPPORT= user-destdir -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -USE_LANGUAGES= c c++ USE_TOOLS+= perl:run REPLACE_PERL+= util/gifburst @@ -40,4 +29,7 @@ post-install: cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DESTDIR}${HTMLDIR} .include "../../mk/giflib.buildlink3.mk" +.if ${GIFLIB_IMPLEMENTATION} == "libungif" +PKG_FAIL_REASON= "please use graphics/libungif" +.endif .include "../../mk/bsd.pkg.mk" diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index a3e940e0932..b7517189ab7 100644 --- a/graphics/giflib/Makefile +++ b/graphics/giflib/Makefile @@ -1,24 +1,15 @@ -# $NetBSD: Makefile,v 1.43 2011/09/06 18:45:46 drochner Exp $ +# $NetBSD: Makefile,v 1.44 2012/02/15 11:08:46 obache Exp $ # -DISTNAME= giflib-4.1.6 +.include "${.CURDIR}/Makefile.common" + PKGREVISION= 2 -CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} -EXTRACT_SUFX= .tar.bz2 -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://giflib.sourceforge.net/ COMMENT= GIF image format library -LICENSE= mit CONFLICTS+= libungif-[0-9]* PKG_DESTDIR_SUPPORT= user-destdir -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -USE_LANGUAGES= c c++ - BUILD_DIRS= lib INSTALL_DIRS= lib diff --git a/graphics/giflib/Makefile.common b/graphics/giflib/Makefile.common new file mode 100644 index 00000000000..b52d781d7e5 --- /dev/null +++ b/graphics/giflib/Makefile.common @@ -0,0 +1,19 @@ +# $NetBSD: Makefile.common,v 1.1 2012/02/15 11:08:46 obache Exp $ +# used by graphics/giflib/Makefile +# used by graphics/giflib-util/Makefile + +DISTNAME= giflib-4.1.6 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://giflib.sourceforge.net/ +LICENSE= mit + +PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches +DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ |