aboutsummaryrefslogtreecommitdiff
path: root/games/tuxpaint-config
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-22 09:26:32 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-22 09:26:32 +0000
commit467925b81be502ad8c3ac021d83cb21ca430914b (patch)
tree5f816e5eaf6299607ddb67b26521ddf12428e3fa /games/tuxpaint-config
parent2c9bbf1dd0bbd5028c7a20e0aeb72ebaafb96e04 (diff)
downloadports-467925b81be502ad8c3ac021d83cb21ca430914b.tar.gz
ports-467925b81be502ad8c3ac021d83cb21ca430914b.zip
Notes
Diffstat (limited to 'games/tuxpaint-config')
-rw-r--r--games/tuxpaint-config/Makefile23
-rw-r--r--games/tuxpaint-config/pkg-plist1
2 files changed, 10 insertions, 14 deletions
diff --git a/games/tuxpaint-config/Makefile b/games/tuxpaint-config/Makefile
index a3e121491b18..a88f67277e14 100644
--- a/games/tuxpaint-config/Makefile
+++ b/games/tuxpaint-config/Makefile
@@ -10,28 +10,23 @@ MASTER_SITES= SF/tuxpaint/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical tool to change TuxPaint settings
-LIB_DEPENDS= paper.2:${PORTSDIR}/print/libpaper \
- fltk.1:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper \
+ libfltk.so:${PORTSDIR}/x11-toolkits/fltk
RUN_DEPENDS= tuxpaint:${PORTSDIR}/games/tuxpaint
-USES= gettext
-USE_GMAKE= yes
+USES= gettext gmake
MAKE_ARGS= PREFIX="${PREFIX}" \
MAN_PREFIX="${MANPREFIX}/man" \
X11_ICON_PREFIX="${PREFIX}/share/pixmaps/" \
CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
ARCH_LINKS="-L${LOCALBASE}/lib -lintl"
-
-MANCOMPRESSED= yes
-MAN1= tuxpaint-config.1
-
+INSTALL_TARGET= install-bin install-data install-man install-gettext install-doc
MAKE_JOBS_UNSAFE=yes
-.if defined(NOPORTDOCS)
-INSTALL_TARGET= install-bin install-data install-man install-gettext
-.else
-INSTALL_TARGET= install-bin install-data install-man install-gettext install-doc
-.endif
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -E 's,(BIN|DATA|DOC|LOCALE|MAN)_PREFIX),DESTDIR)$$(&,' \
+ ${WRKSRC}/Makefile
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/games/tuxpaint-config/pkg-plist b/games/tuxpaint-config/pkg-plist
index 941f3f9ae36b..f0e0035ff075 100644
--- a/games/tuxpaint-config/pkg-plist
+++ b/games/tuxpaint-config/pkg-plist
@@ -1,4 +1,5 @@
bin/tuxpaint-config
+man/man1/tuxpaint-config.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt