- Add staging support

- Convert to USES=gmake
- Switch to PLIST_FILES
This commit is contained in:
Pawel Pekala 2014-04-27 18:26:01 +00:00
parent b17d903e24
commit c2a80da818
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352446
2 changed files with 7 additions and 6 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -1,3 +0,0 @@
bin/gtkgraph
share/locale/fr/LC_MESSAGES/gtkgraph.mo
share/locale/ja/LC_MESSAGES/gtkgraph.mo