summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-10-07 15:23:39 +0000
committerwiz <wiz@pkgsrc.org>2004-10-07 15:23:39 +0000
commit51aa13fceab00584faee975f0c2b3ab81afee878 (patch)
treef7e86d522f0bb186449e836f011fa5357e718481 /graphics
parent6287c178fe9a43f14e0623ccf41622a1747aea94 (diff)
downloadpkgsrc-51aa13fceab00584faee975f0c2b3ab81afee878.tar.gz
Initial import of tuxpaint-config-0.0.5:
"Tux Paint Config" is a graphical configuration tool for "Tux Paint." It provides a point-and-click interface that allows parents and teachers to alter Tux Paint's behavior -- disable sound effects, run in full-screen mode, etc. -- without needing to manipulate a text-based configuration file.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tuxpaint-config/DESCR5
-rw-r--r--graphics/tuxpaint-config/Makefile24
-rw-r--r--graphics/tuxpaint-config/PLIST22
-rw-r--r--graphics/tuxpaint-config/distinfo5
-rw-r--r--graphics/tuxpaint-config/patches/patch-aa50
5 files changed, 106 insertions, 0 deletions
diff --git a/graphics/tuxpaint-config/DESCR b/graphics/tuxpaint-config/DESCR
new file mode 100644
index 00000000000..29761a0a08a
--- /dev/null
+++ b/graphics/tuxpaint-config/DESCR
@@ -0,0 +1,5 @@
+"Tux Paint Config" is a graphical configuration tool for "Tux
+Paint." It provides a point-and-click interface that allows parents
+and teachers to alter Tux Paint's behavior -- disable sound effects,
+run in full-screen mode, etc. -- without needing to manipulate a
+text-based configuration file.
diff --git a/graphics/tuxpaint-config/Makefile b/graphics/tuxpaint-config/Makefile
new file mode 100644
index 00000000000..4bcb4cc44dd
--- /dev/null
+++ b/graphics/tuxpaint-config/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+#
+
+DISTNAME= tuxpaint-config-0.0.5
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/config/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/config/
+COMMENT= Configuration program for tuxpaint
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_X11= YES
+MANCOMPRESSED= YES
+
+post-install:
+ -${FIND} ${PREFIX}/share/tuxpaint-config -name CVS -exec ${RM} -r {} \; 2>/dev/null
+ -${FIND} ${PREFIX}/share/tuxpaint-config -name .xvpics -exec ${RM} -r {} \; 2>/dev/null
+ ${RMDIR} ${PREFIX}/share/tuxpaint-config/fonts
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../x11/fltk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/tuxpaint-config/PLIST b/graphics/tuxpaint-config/PLIST
new file mode 100644
index 00000000000..02b188c8226
--- /dev/null
+++ b/graphics/tuxpaint-config/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+bin/tuxpaint-config
+man/man1/tuxpaint-config.1.gz
+share/doc/tuxpaint-config/AUTHORS.txt
+share/doc/tuxpaint-config/CHANGES.txt
+share/doc/tuxpaint-config/COPYING.txt
+share/doc/tuxpaint-config/README.txt
+share/doc/tuxpaint-config/TODO.txt
+share/tuxpaint-config/images/icon-win32.ico
+share/tuxpaint-config/images/icon.png
+share/tuxpaint-config/images/icon16x16.png
+share/tuxpaint-config/images/icon32x32.png
+share/tuxpaint-config/images/icon32x32.xpm
+share/tuxpaint-config/images/icon48x48.png
+share/tuxpaint-config/images/win32-icon16x16x16.png
+share/tuxpaint-config/images/win32-icon16x16x256.png
+share/tuxpaint-config/images/win32-icon32x32x16.png
+share/tuxpaint-config/images/win32-icon32x32x256.png
+share/tuxpaint-config/images/win32-icon48x48x256.png
+@dirrm share/tuxpaint-config/images
+@dirrm share/tuxpaint-config
+@dirrm share/doc/tuxpaint-config
diff --git a/graphics/tuxpaint-config/distinfo b/graphics/tuxpaint-config/distinfo
new file mode 100644
index 00000000000..429ded90916
--- /dev/null
+++ b/graphics/tuxpaint-config/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+
+SHA1 (tuxpaint-config-0.0.5.tar.gz) = fc3056b24743377366cef630584cd5cb7262dc55
+Size (tuxpaint-config-0.0.5.tar.gz) = 82736 bytes
+SHA1 (patch-aa) = 4e18cd02cc146087f1a899e0fb80a57012908e16
diff --git a/graphics/tuxpaint-config/patches/patch-aa b/graphics/tuxpaint-config/patches/patch-aa
new file mode 100644
index 00000000000..89146a6e9f5
--- /dev/null
+++ b/graphics/tuxpaint-config/patches/patch-aa
@@ -0,0 +1,50 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/07 15:23:39 wiz Exp $
+
+--- Makefile.orig 2004-09-11 11:59:03.000000000 +0200
++++ Makefile
+@@ -14,7 +14,7 @@
+
+ # Where to install things:
+
+-PREFIX=/usr/local
++#PREFIX=/usr/local
+
+
+ # Program:
+@@ -30,7 +30,7 @@ DATA_PREFIX=$(PREFIX)/share/tuxpaint-con
+ # Docs and man page:
+
+ DOC_PREFIX=$(PREFIX)/share/doc/tuxpaint-config/
+-MAN_PREFIX=$(PREFIX)/share/man/
++MAN_PREFIX=$(PREFIX)/man/
+
+
+ # Tux Paint's 'System-wide' Config file:
+@@ -69,7 +69,7 @@ FLTK_LIBS=`fltk-config --ldstaticflags`
+
+ # The entire set of CFLAGS:
+
+-CFLAGS=-O2 -Wall $(FLTK_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
++CFLAGS+=-Wall $(FLTK_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
+ -D$(NOSOUNDFLAG) -DDOC_PREFIX=\"$(DOC_PREFIX)\" \
+ -DLOCALEDIR=\"$(LOCALE_PREFIX)\" -DCONFDIR=\"$(CONFDIR)\"
+
+@@ -90,8 +90,7 @@ all: tuxpaint-config translations
+ # to do this as superuser ("root"))
+
+ install: install-bin install-data install-man install-doc \
+- install-gnome install-kde install-kde-icons \
+- install-icon install-gettext
++ install-gettext
+ @echo
+ @echo "All done! Now (preferably NOT as 'root' superuser),"
+ @echo "you can type the command 'tuxpaint-config' to run the"
+@@ -245,7 +244,7 @@ install-man:
+ tuxpaint-config: obj/tuxpaint-config.o obj/tuxpaint-config2.o \
+ obj/defaults.o
+ $(CXX) $(CFLAGS) -o tuxpaint-config obj/tuxpaint-config.o \
+- obj/tuxpaint-config2.o obj/defaults.o $(FLTK_LIBS)
++ obj/tuxpaint-config2.o obj/defaults.o $(FLTK_LIBS) -lintl
+
+
+ # Build the object for the program!