svn commit: r352446 - head/graphics/gtkgraph

Pawel Pekala pawel at FreeBSD.org
Sun Apr 27 18:26:02 UTC 2014


Author: pawel
Date: Sun Apr 27 18:26:01 2014
New Revision: 352446
URL: http://svnweb.freebsd.org/changeset/ports/352446
QAT: https://qat.redports.org/buildarchive/r352446/

Log:
  - Add staging support
  - Convert to USES=gmake
  - Switch to PLIST_FILES

Deleted:
  head/graphics/gtkgraph/pkg-plist
Modified:
  head/graphics/gtkgraph/Makefile

Modified: head/graphics/gtkgraph/Makefile
==============================================================================
--- head/graphics/gtkgraph/Makefile	Sun Apr 27 18:20:50 2014	(r352445)
+++ head/graphics/gtkgraph/Makefile	Sun Apr 27 18:26:01 2014	(r352446)
@@ -11,17 +11,21 @@ MASTER_SITE_SUBDIR= jedgar
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Graphing calculator using GTK+
 
-USES=		gettext perl5
-USE_GMAKE=	yes
+USES=		gettext gmake perl5
 USE_GNOME=	imlib
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/gtkgraph \
+		share/locale/fr/LC_MESSAGES/gtkgraph.mo \
+		share/locale/ja/LC_MESSAGES/gtkgraph.mo
+
 pre-patch:
 	@${REINPLACE_CMD} -i '' -e 's|-O2|${CFLAGS}| ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} 's|localedir)|DESTDIR)$$(&|' \
+		${WRKSRC}/po/Makefile.in.in
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list