From 67cd5fca654a95e830c6d8e68e24fe1aae0875e7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 17 Nov 2016 09:00:19 +0000 Subject: [PATCH] - Switch to USES=localbase - Switch to options helpers --- graphics/gauche-gl/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile index e896b4e9e05c..152e6e101c7f 100644 --- a/graphics/gauche-gl/Makefile +++ b/graphics/gauche-gl/Makefile @@ -16,17 +16,14 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gosh:lang/gauche -RUN_DEPENDS:= ${BUILD_DEPENDS} +RUN_DEPENDS= gosh:lang/gauche -USES= makeinfo tar:tgz +USES= localbase makeinfo tar:tgz USE_XORG= ice sm x11 xext xmu xi -USE_GL= glut +USE_GL= gl glu glut GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME} @@ -50,14 +47,16 @@ do-install: ${GZCAT} ${WRKSRC}/doc/${i}.info.gz \ > ${STAGEDIR}${PREFIX}/${INFO_PATH}/${i}.info .endfor - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} README \ - ${STAGEDIR}${DOCSDIR}) - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ - ${STAGEDIR}${EXAMPLESDIR}) @(cd ${STAGEDIR}${PREFIX}/lib/gauche-0.9/site/${CONFIGURE_TARGET} && \ ${CHMOD} u+w libgauche-*.so && ${STRIP_CMD} libgauche-*.so && \ ${CHMOD} u-w libgauche-*.so) +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + .include