svn commit: r337891 - branches/2014Q1/graphics/rgbpaint

Pawel Pekala pawel at FreeBSD.org
Sat Dec 28 18:03:57 UTC 2013


Author: pawel
Date: Sat Dec 28 18:03:56 2013
New Revision: 337891
URL: http://svnweb.freebsd.org/changeset/ports/337891

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

Modified:
  branches/2014Q1/graphics/rgbpaint/Makefile
  branches/2014Q1/graphics/rgbpaint/pkg-plist   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/graphics/rgbpaint/Makefile
==============================================================================
--- branches/2014Q1/graphics/rgbpaint/Makefile	Sat Dec 28 18:02:41 2013	(r337890)
+++ branches/2014Q1/graphics/rgbpaint/Makefile	Sat Dec 28 18:03:56 2013	(r337891)
@@ -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: branches/2014Q1/graphics/rgbpaint/pkg-plist
==============================================================================
--- branches/2014Q1/graphics/rgbpaint/pkg-plist	Sat Dec 28 18:02:41 2013	(r337890)
+++ branches/2014Q1/graphics/rgbpaint/pkg-plist	Sat Dec 28 18:03:56 2013	(r337891)
@@ -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


More information about the svn-ports-branches mailing list