From 7ba6236cfdafdff0090596f0e965fe36bb7aaaad Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 16 Feb 2014 19:12:22 +0000 Subject: - Add stage support - Convert USE_GMAKE to USES --- math/graphthing/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'math/graphthing') diff --git a/math/graphthing/Makefile b/math/graphthing/Makefile index 338655539dc4..b98b34c25533 100644 --- a/math/graphthing/Makefile +++ b/math/graphthing/Makefile @@ -15,10 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_BZIP2= yes USE_GNOME= gtk20 -USES= bison +USES= bison gmake USE_WX= 2.6+ WX_CONF_ARGS= absolute -USE_GMAKE= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile @@ -27,13 +26,12 @@ PLIST_FILES= bin/graphthing bin/gt CPPFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin - ${LN} -sf graphthing ${PREFIX}/bin/gt + ${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${STAGEDIR}${PREFIX}/bin + ${LN} -sf graphthing ${STAGEDIR}${PREFIX}/bin/gt .include -- cgit v1.2.3