diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-22 17:26:32 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-22 17:26:32 +0800 |
commit | a988276fe5f66e0bb8dd17c8def55151d37493ad (patch) | |
tree | 5f816e5eaf6299607ddb67b26521ddf12428e3fa /games | |
parent | 16e78a6d839fecc77a5e2f7184a960a50a4a83a6 (diff) | |
download | freebsd-ports-gnome-a988276fe5f66e0bb8dd17c8def55151d37493ad.tar.gz freebsd-ports-gnome-a988276fe5f66e0bb8dd17c8def55151d37493ad.tar.zst freebsd-ports-gnome-a988276fe5f66e0bb8dd17c8def55151d37493ad.zip |
- Add staging support
- Convert to new LIB_DEPENDS format, USES=gmake
- Define DOCS option
Diffstat (limited to 'games')
-rw-r--r-- | games/tuxpaint-config/Makefile | 23 | ||||
-rw-r--r-- | games/tuxpaint-config/pkg-plist | 1 |
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 |