svn commit: r346316 - in head/graphics/rgbpaint: . files
Martin Wilke
miwi at FreeBSD.org
Thu Feb 27 11:43:48 UTC 2014
Author: miwi
Date: Thu Feb 27 11:43:47 2014
New Revision: 346316
URL: http://svnweb.freebsd.org/changeset/ports/346316
QAT: https://qat.redports.org/buildarchive/r346316/
Log:
- Support CC properly
- Stage support
PR: 184233
Deleted:
head/graphics/rgbpaint/files/
Modified:
head/graphics/rgbpaint/Makefile
Modified: head/graphics/rgbpaint/Makefile
==============================================================================
--- head/graphics/rgbpaint/Makefile Thu Feb 27 10:54:16 2014 (r346315)
+++ head/graphics/rgbpaint/Makefile Thu Feb 27 11:43:47 2014 (r346316)
@@ -10,6 +10,8 @@ MASTER_SITES= SF/mtpaint/${PORTNAME}/${P
MAINTAINER= ports at FreeBSD.org
COMMENT= Very basic painting program
+LICENSE= GPLv2 # (or later)
+
USES= gettext pkgconfig
USE_BZIP2= yes
USE_GNOME= gtk20
@@ -20,13 +22,19 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --man
DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true
post-patch:
- @${REINPLACE_CMD} -e '/if \[/s|==|=|g; s|gcc -Wall|${CC}|' \
+ @${REINPLACE_CMD} '/if \[/s|==|=|g ; \
+ /gcc/s|^|#| ; \
+ /GTK_LIB/s| -s||' \
${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' \
+ @${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g ; \
+ /^LDFLAGS/s|)$$|) -lm -lintl|' \
${WRKSRC}/src/Makefile
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rgbpaint
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list