From c2a80da818b293266539e869ab3692df2cce1621 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sun, 27 Apr 2014 18:26:01 +0000 Subject: [PATCH] - Add staging support - Convert to USES=gmake - Switch to PLIST_FILES --- graphics/gtkgraph/Makefile | 10 +++++++--- graphics/gtkgraph/pkg-plist | 3 --- 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 graphics/gtkgraph/pkg-plist diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile index 1c89b1a4b26a..89225cc82351 100644 --- a/graphics/gtkgraph/Makefile +++ b/graphics/gtkgraph/Makefile @@ -11,17 +11,21 @@ MASTER_SITE_SUBDIR= jedgar MAINTAINER= ports@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 diff --git a/graphics/gtkgraph/pkg-plist b/graphics/gtkgraph/pkg-plist deleted file mode 100644 index 5df023a9aee9..000000000000 --- a/graphics/gtkgraph/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/gtkgraph -share/locale/fr/LC_MESSAGES/gtkgraph.mo -share/locale/ja/LC_MESSAGES/gtkgraph.mo