diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-05 08:17:33 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-05 08:17:33 +0800 |
commit | e6edbce377ac048c01ea224ba8e3a26a68cc9a47 (patch) | |
tree | b107df86c7508f334543655da7674b3c9ae185fd /games/tuxpaint | |
parent | ba95e1380e4a8156badc6618c58813d6386887fd (diff) | |
download | freebsd-ports-gnome-e6edbce377ac048c01ea224ba8e3a26a68cc9a47.tar.gz freebsd-ports-gnome-e6edbce377ac048c01ea224ba8e3a26a68cc9a47.tar.zst freebsd-ports-gnome-e6edbce377ac048c01ea224ba8e3a26a68cc9a47.zip |
- Convert LIB_DEPENDS to new syntax
- Add stage support
Diffstat (limited to 'games/tuxpaint')
-rw-r--r-- | games/tuxpaint/Makefile | 27 | ||||
-rw-r--r-- | games/tuxpaint/pkg-plist | 3 |
2 files changed, 10 insertions, 20 deletions
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 <bsd.port.options.mk> - -.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 |