Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 09:26:32 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351780 - head/games/tuxpaint-config
Message-ID:  <201404220926.s3M9QWno038324@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Apr 22 09:26:32 2014
New Revision: 351780
URL: http://svnweb.freebsd.org/changeset/ports/351780
QAT: https://qat.redports.org/buildarchive/r351780/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format, USES=gmake
  - Define DOCS option

Modified:
  head/games/tuxpaint-config/Makefile
  head/games/tuxpaint-config/pkg-plist

Modified: head/games/tuxpaint-config/Makefile
==============================================================================
--- head/games/tuxpaint-config/Makefile	Tue Apr 22 09:20:56 2014	(r351779)
+++ head/games/tuxpaint-config/Makefile	Tue Apr 22 09:26:32 2014	(r351780)
@@ -10,28 +10,23 @@ MASTER_SITES=	SF/tuxpaint/${PORTNAME}/${
 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>

Modified: head/games/tuxpaint-config/pkg-plist
==============================================================================
--- head/games/tuxpaint-config/pkg-plist	Tue Apr 22 09:20:56 2014	(r351779)
+++ head/games/tuxpaint-config/pkg-plist	Tue Apr 22 09:26:32 2014	(r351780)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404220926.s3M9QWno038324>