ports/184233: graphics/rgbpaint: Support CC properly

KATO Tsuguru tkato432 at yahoo.com
Sun Nov 24 18:10:05 UTC 2013


>Number:         184233
>Category:       ports
>Synopsis:       graphics/rgbpaint: Support CC properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 24 18:10:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support CC properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/rgbpaint/Makefile graphics/rgbpaint/Makefile
--- /usr/ports/graphics/rgbpaint/Makefile	2013-11-06 22:01:31.000000000 +0900
+++ graphics/rgbpaint/Makefile	2013-11-25 00:00:00.000000000 +0900
@@ -10,17 +10,21 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Very basic painting program
 
-USES=		gettext pkgconfig
 USE_BZIP2=	yes
+USES=		gettext pkgconfig
 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
+CONFIGURE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
+		--mandir=${STAGEDIR}${MAN1PREFIX}/man/man1 \
+		--locale=${STAGEDIR}${PREFIX}/share/locale \
+		cflags slow debug intl man
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e '/if \[/s|==|=|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/gcc/s|^|#| ; \
+		 /if \[/s|==|=|' ${WRKSRC}/configure
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rgbpaint
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/rgbpaint/pkg-plist graphics/rgbpaint/pkg-plist
--- /usr/ports/graphics/rgbpaint/pkg-plist	2013-11-06 22:01:31.000000000 +0900
+++ graphics/rgbpaint/pkg-plist	2013-11-25 00:00:00.000000000 +0900
@@ -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
@@ -8,13 +9,3 @@
 share/locale/pt_BR/LC_MESSAGES/rgbpaint.mo
 share/locale/tr/LC_MESSAGES/rgbpaint.mo
 share/locale/zh_TW/LC_MESSAGES/rgbpaint.mo
- at dirrmtry share/locale/cs/LC_MESSAGES
- at dirrmtry share/locale/cs
- at dirrmtry share/locale/de_DE/LC_MESSAGES
- at dirrmtry share/locale/de_DE
- at dirrmtry share/locale/pl/LC_MESSAGES
- at dirrmtry share/locale/pl
- at dirrmtry share/locale/pt/LC_MESSAGES
- at dirrmtry share/locale/pt
- at dirrmtry share/locale/zh_TW/LC_MESSAGES
- at dirrmtry share/locale/zh_TW
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list