summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-28 11:04:54 +0000
committerwiz <wiz@pkgsrc.org>2002-10-28 11:04:54 +0000
commite76bd39348a364973b519a57db95ae109649fc79 (patch)
tree626bf726680a640dfd4e4b9037aee33c0f66831e
parent4cd510ca6ceaca2de631a6c94e698e1541ec9475 (diff)
downloadpkgsrc-e76bd39348a364973b519a57db95ae109649fc79.tar.gz
Initial import of gmngview-1.0.4, a simple GTK-based MNG viewer.
-rw-r--r--graphics/gmngview/DESCR1
-rw-r--r--graphics/gmngview/Makefile26
-rw-r--r--graphics/gmngview/PLIST2
-rw-r--r--graphics/gmngview/distinfo5
-rw-r--r--graphics/gmngview/patches/patch-aa18
5 files changed, 52 insertions, 0 deletions
diff --git a/graphics/gmngview/DESCR b/graphics/gmngview/DESCR
new file mode 100644
index 00000000000..c7fd19649e9
--- /dev/null
+++ b/graphics/gmngview/DESCR
@@ -0,0 +1 @@
+Very simple GTK MNG viewer (from the mng distribution).
diff --git a/graphics/gmngview/Makefile b/graphics/gmngview/Makefile
new file mode 100644
index 00000000000..8e4b00a887e
--- /dev/null
+++ b/graphics/gmngview/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/28 11:04:54 wiz Exp $
+#
+
+DISTNAME= libmng-1.0.4
+PKGNAME= ${DISTNAME:S/libmng/gmngview/}
+WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/gcc/gtk-mng-view
+CATEGORIES= graphics
+MASTER_SITES= http://www.3-t.com/libmng/download/ \
+ ${MASTER_SITE_SOURCEFORGE:=libmng/} \
+ http://www.libmng.com/download/
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+COMMENT= simple GTK-based MNG viewer
+
+USE_BUILDLINK2= YES
+MAKE_ENV+= LIBMNG_PREFIX=${BUILDLINK_PREFIX.mng:Q}
+
+EXTRACT_ELEMENTS= */contrib/gcc/gtk-mng*
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gmngview ${PREFIX}/bin
+
+.include "../../graphics/gdk-pixbuf/buildlink2.mk"
+.include "../../graphics/mng/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gmngview/PLIST b/graphics/gmngview/PLIST
new file mode 100644
index 00000000000..28e5bd27fd9
--- /dev/null
+++ b/graphics/gmngview/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/28 11:04:54 wiz Exp $
+bin/gmngview
diff --git a/graphics/gmngview/distinfo b/graphics/gmngview/distinfo
new file mode 100644
index 00000000000..a7663cff259
--- /dev/null
+++ b/graphics/gmngview/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/28 11:04:54 wiz Exp $
+
+SHA1 (libmng-1.0.4.tar.gz) = b31bbc21fe3590b75bbf44abc7b89e3871f12154
+Size (libmng-1.0.4.tar.gz) = 568950 bytes
+SHA1 (patch-aa) = 3cf413cbb032f670a6f818b60e188a0bf7bc5db0
diff --git a/graphics/gmngview/patches/patch-aa b/graphics/gmngview/patches/patch-aa
new file mode 100644
index 00000000000..f3d1a207c7d
--- /dev/null
+++ b/graphics/gmngview/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/28 11:04:54 wiz Exp $
+
+--- Makefile.orig Sun Jun 23 18:59:38 2002
++++ Makefile
+@@ -1,4 +1,3 @@
+-LIBMNG_PREFIX = /usr/local
+
+ CC = gcc
+
+@@ -29,7 +28,7 @@ $(EXE_BASENAME): $(OBJ)
+ $(EXE_BASENAME)-static: $(OBJ)
+ $(CC) -static -o $(EXE_BASENAME)-static $(OBJ) $(LIBS)
+
+-.c.o: gtk-mng-viewer.h
++.c.o: gtk-mng-view.h
+ $(CC) -c $(CFLAGS) $<
+
+ clean: