Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 17:45:19 +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: r337767 - head/graphics/rgbpaint
Message-ID:  <201312271745.rBRHjJ6n043784@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec 27 17:45:19 2013
New Revision: 337767
URL: http://svnweb.freebsd.org/changeset/ports/337767

Log:
  - Fix build on 10+ by respecting CC
  - Add desktop entry file
  - Support staging

Modified:
  head/graphics/rgbpaint/Makefile
  head/graphics/rgbpaint/pkg-plist   (contents, props changed)

Modified: head/graphics/rgbpaint/Makefile
==============================================================================
--- head/graphics/rgbpaint/Makefile	Fri Dec 27 17:41:28 2013	(r337766)
+++ head/graphics/rgbpaint/Makefile	Fri Dec 27 17:45:19 2013	(r337767)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rgbpaint
 PORTVERSION=	0.8.7
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	graphics
 MASTER_SITES=	SF/mtpaint/${PORTNAME}/${PORTVERSION}
 
@@ -16,11 +16,17 @@ USE_GNOME=	gtk20
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MAN1PREFIX}/man/man1 \
 		--locale=${PREFIX}/share/locale cflags slow intl man
-MAN1=		${PORTNAME}.1
-MANCOMPRESSED=	yes
 
-NO_STAGE=	yes
+DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true
+
 post-patch:
-	@${REINPLACE_CMD} -e '/if \[/s|==|=|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/if \[/s|==|=|g; s|gcc -Wall|${CC}|' \
+		${WRKSRC}/configure
+	@${REINPLACE_CMD} 's|$$(MT_MAN_DEST)|$$(DESTDIR)&|g' \
+		${WRKSRC}/doc/Makefile
+	@${REINPLACE_CMD} 's|$$(MT_LANG_DEST)|$$(DESTDIR)&|g' \
+		${WRKSRC}/po/Makefile
+	@${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g' \
+		${WRKSRC}/src/Makefile
 
 .include <bsd.port.mk>

Modified: head/graphics/rgbpaint/pkg-plist
==============================================================================
--- head/graphics/rgbpaint/pkg-plist	Fri Dec 27 17:41:28 2013	(r337766)
+++ head/graphics/rgbpaint/pkg-plist	Fri Dec 27 17:45:19 2013	(r337767)
@@ -1,4 +1,5 @@
 bin/rgbpaint
+man/man1/rgbpaint.1.gz
 share/locale/cs/LC_MESSAGES/rgbpaint.mo
 share/locale/de_DE/LC_MESSAGES/rgbpaint.mo
 share/locale/es/LC_MESSAGES/rgbpaint.mo



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