aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/tuxpaint-config/Makefile6
-rw-r--r--games/tuxpaint-config/distinfo6
-rw-r--r--games/tuxpaint-config/files/patch-Makefile38
-rw-r--r--games/tuxpaint-config/pkg-plist2
4 files changed, 27 insertions, 25 deletions
diff --git a/games/tuxpaint-config/Makefile b/games/tuxpaint-config/Makefile
index 1d709540987..0ddc97cb5f5 100644
--- a/games/tuxpaint-config/Makefile
+++ b/games/tuxpaint-config/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= tuxpaint-config
-PORTVERSION= 0.0.7
-PORTREVISION= 1
+PORTVERSION= 0.0.8
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tuxpaint
@@ -15,7 +14,8 @@ MASTER_SITE_SUBDIR= tuxpaint
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Graphical tool to change TuxPaint settings
-LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
+ paper.2:${PORTSDIR}/print/libpaper
RUN_DEPENDS= tuxpaint:${PORTSDIR}/games/tuxpaint
USE_GMAKE= yes
diff --git a/games/tuxpaint-config/distinfo b/games/tuxpaint-config/distinfo
index 2005bf719e1..ba7566b8521 100644
--- a/games/tuxpaint-config/distinfo
+++ b/games/tuxpaint-config/distinfo
@@ -1,3 +1,3 @@
-MD5 (tuxpaint-config-0.0.7.tar.gz) = e3d024b0a26306fd8a31d1c5e3129764
-SHA256 (tuxpaint-config-0.0.7.tar.gz) = 6724f4cf80666baa2994bfc6594afc5e38e85b9990f2839d81c4a46b660534f5
-SIZE (tuxpaint-config-0.0.7.tar.gz) = 83004
+MD5 (tuxpaint-config-0.0.8.tar.gz) = 9a860345d23916cc0f67c51f143f7549
+SHA256 (tuxpaint-config-0.0.8.tar.gz) = 29fc130a22552bf062590b17b8c72d41f9e41f9f891628d6232e9f668015243f
+SIZE (tuxpaint-config-0.0.8.tar.gz) = 90683
diff --git a/games/tuxpaint-config/files/patch-Makefile b/games/tuxpaint-config/files/patch-Makefile
index 1c78b5d8243..47e3b319eaf 100644
--- a/games/tuxpaint-config/files/patch-Makefile
+++ b/games/tuxpaint-config/files/patch-Makefile
@@ -1,6 +1,6 @@
---- ./Makefile.orig Thu Oct 19 04:42:09 2006
-+++ ./Makefile Mon Nov 6 16:05:08 2006
-@@ -19,7 +19,6 @@
+--- Makefile.orig Sun Jul 1 12:06:18 2007
++++ Makefile Fri Jul 20 12:07:40 2007
+@@ -20,7 +20,6 @@
# Where to install things:
@@ -8,7 +8,7 @@
# Program:
-@@ -36,7 +35,7 @@
+@@ -37,7 +36,7 @@
# Docs and man page:
DOC_PREFIX=$(PREFIX)/share/doc/tuxpaint-config/
@@ -17,8 +17,8 @@
# Tux Paint's 'System-wide' Config file:
-@@ -74,7 +73,7 @@
- FLTK_LIBS=`fltk-config --ldstaticflags`
+@@ -77,7 +76,7 @@
+ PAPER_LIB=-lpaper
# Default CFLAGS:
-CFLAGS=-O2 -Wall
@@ -26,7 +26,7 @@
# The entire set of CFLAGS:
ALL_CFLAGS=$(CFLAGS) $(FLTK_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
-@@ -143,8 +142,7 @@
+@@ -147,8 +146,7 @@
# to do this as superuser ("root"))
install: install-bin install-data install-man install-doc \
@@ -36,22 +36,22 @@
@echo
@echo "All done! Now (preferably NOT as 'root' superuser),"
@echo "you can type the command 'tuxpaint-config' to run the"
-@@ -233,9 +231,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
+@@ -238,9 +236,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:
-@@ -299,7 +294,7 @@
- obj/defaults.o $(ARCH_LIBS)
- $(CXX) $(ALL_CFLAGS) -o tuxpaint-config obj/tuxpaint-config.o \
+@@ -307,7 +302,7 @@
+ @echo Linking
+ @$(CXX) $(ALL_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
+- $(FLTK_LIBS) $(ARCH_LINKS) $(PAPER_LIB)
++ $(FLTK_LIBS) $(ARCH_LINKS) $(PAPER_LIB) -lintl
# Build the object for the program!
diff --git a/games/tuxpaint-config/pkg-plist b/games/tuxpaint-config/pkg-plist
index b810b7ae86d..6dfac5f8bce 100644
--- a/games/tuxpaint-config/pkg-plist
+++ b/games/tuxpaint-config/pkg-plist
@@ -4,6 +4,7 @@ bin/tuxpaint-config
%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
+%%PORTDOCS%%%%DOCSDIR%%/html/README.html
%%DATADIR%%/images/icon-win32.ico
%%DATADIR%%/images/icon.png
%%DATADIR%%/images/icon16x16.png
@@ -17,4 +18,5 @@ bin/tuxpaint-config
%%DATADIR%%/images/win32-icon48x48x256.png
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%