summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/graphthing/Makefile8
1 files changed, 3 insertions, 5 deletions
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 <bsd.port.mk>