svn commit: r337767 - head/graphics/rgbpaint

Pawel Pekala pawel at FreeBSD.org
Fri Dec 27 17:45:20 UTC 2013


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


More information about the svn-ports-head mailing list