summaryrefslogtreecommitdiff
path: root/devel/maketool
diff options
context:
space:
mode:
Diffstat (limited to 'devel/maketool')
-rw-r--r--devel/maketool/Makefile30
-rw-r--r--devel/maketool/files/md53
-rw-r--r--devel/maketool/files/patch-sum4
-rw-r--r--devel/maketool/patches/patch-aa33
-rw-r--r--devel/maketool/patches/patch-ab13
-rw-r--r--devel/maketool/pkg/COMMENT1
-rw-r--r--devel/maketool/pkg/DESCR4
-rw-r--r--devel/maketool/pkg/PLIST9
8 files changed, 97 insertions, 0 deletions
diff --git a/devel/maketool/Makefile b/devel/maketool/Makefile
new file mode 100644
index 00000000000..c8c973b1e7a
--- /dev/null
+++ b/devel/maketool/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+#
+
+DISTNAME= maketool-0.3
+CATEGORIES= devel
+MASTER_SITES= http://www.alphalink.com.au/~gnb/maketool/
+EXTRACT_SUFX= -src.tgz
+
+MAINTAINER= fb@enteract.com
+HOMEPAGE= http://www.alphalink.com.au/~gnb/#maketool
+
+DEPENDS+= gettext-0.10.35:../../devel/gettext
+DEPENDS+= gtk+-1.2.4:../../x11/gtk
+
+USE_GMAKE= yes
+USE_X11BASE= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-included-gettext
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+
+post-patch:
+ cd ${WRKSRC}; \
+ ${CP} filter.c filter.c.dist; \
+ ${CP} preferences.c preferences.c.dist; \
+ ${SED} 's|^make|${GMAKE}|' >extract_targets <extract_targets.sh; \
+ ${SED} 's|\^make|${GMAKE}|' >filter.c <filter.c.dist; \
+ ${SED} '/prefs.prog/s|\"make |\"${GMAKE} |' >preferences.c <preferences.c.dist
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/maketool/files/md5 b/devel/maketool/files/md5
new file mode 100644
index 00000000000..e92726f8a8d
--- /dev/null
+++ b/devel/maketool/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+
+MD5 (maketool-0.3-src.tgz) = 2ada85cdb4c211b0a0b54c86260d4297
diff --git a/devel/maketool/files/patch-sum b/devel/maketool/files/patch-sum
new file mode 100644
index 00000000000..b1f4e91a2fc
--- /dev/null
+++ b/devel/maketool/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+
+MD5 (patch-aa) = ae3ea2156dc1bc82ab5ab26488c67743
+MD5 (patch-ab) = 186474488d3ab4625db5ef715fd84ecf
diff --git a/devel/maketool/patches/patch-aa b/devel/maketool/patches/patch-aa
new file mode 100644
index 00000000000..c0726326575
--- /dev/null
+++ b/devel/maketool/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+
+--- Makefile.in.orig Wed Jul 14 02:35:50 1999
++++ Makefile.in Fri Sep 17 06:17:47 1999
+@@ -25,13 +25,13 @@
+ INSTALL= @INSTALL@
+ PACKAGE= @PACKAGE@
+ VERSION= @VERSION@
+-DOCDIR= $(prefix)/doc/$(PACKAGE)-$(VERSION)
+-LICENCE= $(prefix)/doc/$(PACKAGE)-$(VERSION)/COPYING
+-localedir= $(prefix)/@DATADIRNAME@/locale
++DOCDIR= $(prefix)/share/$(PACKAGE)
++LICENCE= $(prefix)/share/$(PACKAGE)/COPYING
++localedir= $(prefix)/share/locale
+
+ CC= @CC@
+ CFLAGS= @CFLAGS@
+-CPPFLAGS= @GTK_CFLAGS@ -D_USE_BSD -I. -Iicons -Iintl \
++CPPFLAGS= @GTK_CFLAGS@ -D_USE_BSD -I. @CPPFLAGS@ -Iicons -Iintl \
+ -DLICENCE="\"$(LICENCE)\"" -DLOCALEDIR=\"$(localedir)\" \
+ $(TESTCPPFLAGS)
+ LDLIBS= @GTK_LIBS@ @INTLLIBS@
+@@ -132,8 +132,8 @@
+ test -d $(DOCDIR) || $(INSTALL) -m 755 -d $(DOCDIR)
+ $(INSTALL) -m 755 COPYING $(DOCDIR)/COPYING
+ $(INSTALL) -m 755 COPYRIGHT $(DOCDIR)/COPYRIGHT
+- $(INSTALL) -m 755 TODO $(DOCDIR)/TODO
+- $(INSTALL) -m 755 CHANGES $(DOCDIR)/CHANGES
++# $(INSTALL) -m 755 TODO $(DOCDIR)/TODO
++# $(INSTALL) -m 755 CHANGES $(DOCDIR)/CHANGES
+
+
+ uninstall::
diff --git a/devel/maketool/patches/patch-ab b/devel/maketool/patches/patch-ab
new file mode 100644
index 00000000000..14b21eb5acd
--- /dev/null
+++ b/devel/maketool/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+
+--- po/Makefile.in.in.orig Sun May 30 08:42:41 1999
++++ po/Makefile.in.in Thu Sep 16 07:26:53 1999
+@@ -18,7 +18,7 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-datadir = $(prefix)/@DATADIRNAME@
++datadir = $(prefix)/share
+ localedir = $(datadir)/locale
+ gnulocaledir = $(prefix)/share/locale
+ gettextsrcdir = $(prefix)/share/gettext/po
diff --git a/devel/maketool/pkg/COMMENT b/devel/maketool/pkg/COMMENT
new file mode 100644
index 00000000000..5ca17e9da7a
--- /dev/null
+++ b/devel/maketool/pkg/COMMENT
@@ -0,0 +1 @@
+a graphical front end to GNU make.
diff --git a/devel/maketool/pkg/DESCR b/devel/maketool/pkg/DESCR
new file mode 100644
index 00000000000..2fbca8039e4
--- /dev/null
+++ b/devel/maketool/pkg/DESCR
@@ -0,0 +1,4 @@
+Maketool is a simple GTK based GUI front end for GNU make.
+Figures out what targets are available and presents them in a menu.
+Runs make and detects compiler errors in the output, allowing you
+to click on the errors to edit the corresponding source.
diff --git a/devel/maketool/pkg/PLIST b/devel/maketool/pkg/PLIST
new file mode 100644
index 00000000000..243f781a189
--- /dev/null
+++ b/devel/maketool/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+bin/extract_targets
+bin/maketool
+share/locale/la/LC_MESSAGES/maketool.mo
+@dirrm share/locale/la/LC_MESSAGES
+@dirrm share/locale/la
+share/maketool/COPYING
+share/maketool/COPYRIGHT
+@dirrm share/maketool