mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
Graphical tool to change TuxPaint settings
PR: ports/89697 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
This commit is contained in:
parent
73a62517e9
commit
95d0ada3f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149908
6 changed files with 123 additions and 0 deletions
|
@ -588,6 +588,7 @@
|
|||
SUBDIR += tuxkart
|
||||
SUBDIR += tuxmath
|
||||
SUBDIR += tuxpaint
|
||||
SUBDIR += tuxpaint-config
|
||||
SUBDIR += tuxpaint-fonts
|
||||
SUBDIR += tuxpaint-stamps
|
||||
SUBDIR += tuxpuck
|
||||
|
|
32
games/tuxpaint-config/Makefile
Normal file
32
games/tuxpaint-config/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
# New ports collection makefile for: tuxpaint-config
|
||||
# Date created: 28 Nov 2005
|
||||
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tuxpaint-config
|
||||
PORTVERSION= 0.0.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= tuxpaint
|
||||
|
||||
MAINTAINER= alejandro@varnet.biz
|
||||
COMMENT= Graphical tool to change TuxPaint settings
|
||||
|
||||
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
||||
RUN_DEPENDS= tuxpaint:${PORTSDIR}/games/tuxpaint
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= tuxpaint-config.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
post-patch:
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e 's|install-doc\([^:]\)|\1|' ${WRKSRC}/${MAKEFILE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/tuxpaint-config/distinfo
Normal file
3
games/tuxpaint-config/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (tuxpaint-config-0.0.6.tar.gz) = 48a72d0c7796c894ccd283498aa751d4
|
||||
SHA256 (tuxpaint-config-0.0.6.tar.gz) = a454aa50b91afb336f5af4eb7367b8bb455f6bbb21ee29a307706e40872e8f65
|
||||
SIZE (tuxpaint-config-0.0.6.tar.gz) = 81107
|
57
games/tuxpaint-config/files/patch-Makefile
Normal file
57
games/tuxpaint-config/files/patch-Makefile
Normal file
|
@ -0,0 +1,57 @@
|
|||
--- Makefile.orig Fri Nov 25 21:55:46 2005
|
||||
+++ Makefile Mon Nov 28 19:07:02 2005
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
# Where to install things:
|
||||
|
||||
-PREFIX=/usr/local
|
||||
|
||||
|
||||
# Program:
|
||||
@@ -35,7 +34,7 @@
|
||||
# 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:
|
||||
@@ -74,7 +73,7 @@
|
||||
|
||||
# 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)\" \
|
||||
-DVER_VERSION=\"$(VER_VERSION)\" -DVER_DATE=\"$(VER_DATE)\"
|
||||
@@ -140,8 +139,7 @@
|
||||
# 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"
|
||||
@@ -230,9 +228,6 @@
|
||||
install -d $(ICON_PREFIX)
|
||||
cp data/images/icon.png $(ICON_PREFIX)tuxpaint-config.png
|
||||
chmod 644 $(ICON_PREFIX)tuxpaint-config.png
|
||||
- install -d $(X11_ICON_PREFIX)
|
||||
- cp data/images/icon32x32.xpm $(X11_ICON_PREFIX)tuxpaint-config.xpm
|
||||
- chmod 644 $(X11_ICON_PREFIX)tuxpaint-config.xpm
|
||||
|
||||
|
||||
# Install the program:
|
||||
@@ -296,7 +291,7 @@
|
||||
obj/defaults.o $(ARCH_LIBS)
|
||||
$(CXX) $(CFLAGS) -o tuxpaint-config obj/tuxpaint-config.o \
|
||||
obj/tuxpaint-config2.o obj/defaults.o $(ARCH_LIBS) \
|
||||
- $(FLTK_LIBS) $(ARCH_LINKS)
|
||||
+ $(FLTK_LIBS) $(ARCH_LINKS) -lintl
|
||||
|
||||
|
||||
# Build the object for the program!
|
10
games/tuxpaint-config/pkg-descr
Normal file
10
games/tuxpaint-config/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
Tux Paint is a free drawing program designed for young children (kids ages 3
|
||||
and up). It has a simple, easy-to-use interface, fun sound effects, and an
|
||||
encouraging cartoon mascot who helps guide children as they use the program.
|
||||
It provides a blank canvas and a variety of drawing tools to help your child
|
||||
be creative.
|
||||
|
||||
WWW: http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
- Alejandro Pulver
|
||||
alejandro@varnet.biz
|
20
games/tuxpaint-config/pkg-plist
Normal file
20
games/tuxpaint-config/pkg-plist
Normal file
|
@ -0,0 +1,20 @@
|
|||
bin/tuxpaint-config
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
|
||||
%%DATADIR%%/images/icon-win32.ico
|
||||
%%DATADIR%%/images/icon.png
|
||||
%%DATADIR%%/images/icon16x16.png
|
||||
%%DATADIR%%/images/icon32x32.png
|
||||
%%DATADIR%%/images/icon32x32.xpm
|
||||
%%DATADIR%%/images/icon48x48.png
|
||||
%%DATADIR%%/images/win32-icon16x16x16.png
|
||||
%%DATADIR%%/images/win32-icon16x16x256.png
|
||||
%%DATADIR%%/images/win32-icon32x32x16.png
|
||||
%%DATADIR%%/images/win32-icon32x32x256.png
|
||||
%%DATADIR%%/images/win32-icon48x48x256.png
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Add table
Reference in a new issue