From e6edbce377ac048c01ea224ba8e3a26a68cc9a47 Mon Sep 17 00:00:00 2001 From: danilo Date: Tue, 5 Nov 2013 00:17:33 +0000 Subject: - Convert LIB_DEPENDS to new syntax - Add stage support --- games/tuxpaint/Makefile | 27 +++++++-------------------- games/tuxpaint/pkg-plist | 3 +++ 2 files changed, 10 insertions(+), 20 deletions(-) (limited to 'games/tuxpaint') diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index c9709600c77b..e37503354631 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -10,8 +10,8 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Drawing program designed for young children -LIB_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi \ - paper:${PORTSDIR}/print/libpaper +LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi \ + libpaper.so:${PORTSDIR}/print/libpaper OPTIONS_DEFINE= DOCS @@ -21,33 +21,20 @@ USES= gettext gmake pkgconfig MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ PREFIX="${PREFIX}" \ - DOC_PREFIX="${DOCSDIR}" \ - DEVDOC_PREFIX="${DOCSDIR}/dev" \ - MAN_PREFIX="${MANPREFIX}/man" \ - DEVMAN_PREFIX="${MANPREFIX}/man" \ - X11_ICON_PREFIX="${PREFIX}/share/pixmaps" \ + DOC_PREFIX="${STAGEDIR}${DOCSDIR}" \ + DEVDOC_PREFIX="${STAGEDIR}${DOCSDIR}/dev" \ + MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ + DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ + X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \ ARCH_INSTALL="" \ OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \ MAGIC_CFLAGS="${CFLAGS} -fno-common -Isrc `$(SDL_CONFIG) --cflags `" \ SHARED_FLAGS="-shared -fPIC" -MANCOMPRESSED= yes -MAN1= tp-magic-config.1 tuxpaint.1 tuxpaint-import.1 - -NO_STAGE= yes -.include - -.if ! ${PORT_OPTIONS:MDOCS} -INSTALL_TARGET= install-bin install-data install-man install-magic-plugins \ - install-magic-plugin-dev install-icon install-gettext \ - install-im install-importscript install-default-config \ - install-example-stamps install-example-starters -.else INSTALL_TARGET= install-bin install-data install-man install-magic-plugins \ install-magic-plugin-dev install-icon install-gettext \ install-im install-importscript install-default-config \ install-example-stamps install-example-starters install-doc -.endif post-extract: @${RM} -rf ${WRKSRC}/fonts/locale/vi_docs diff --git a/games/tuxpaint/pkg-plist b/games/tuxpaint/pkg-plist index ba3dd1191a55..5c539e911802 100644 --- a/games/tuxpaint/pkg-plist +++ b/games/tuxpaint/pkg-plist @@ -1,5 +1,8 @@ bin/tp-magic-config bin/tuxpaint +man/man1/tp-magic-config.1.gz +man/man1/tuxpaint-import.1.gz +man/man1/tuxpaint.1.gz bin/tuxpaint-import @unexec if cmp -s %D/etc/tuxpaint/tuxpaint.conf %D/etc/tuxpaint/tuxpaint.conf.sample; then rm -f %D/etc/tuxpaint/tuxpaint.conf; fi etc/tuxpaint/tuxpaint.conf.sample -- cgit