From 12f39f759de99a2ace4c578ee76cbd6dec731f9c Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 7 Aug 2014 14:39:56 +0000 Subject: [PATCH] 1: Stagify. 2: Strip binary. --- graphics/pure-gl/Makefile | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/graphics/pure-gl/Makefile b/graphics/pure-gl/Makefile index f60228eecace..e33d61b21694 100644 --- a/graphics/pure-gl/Makefile +++ b/graphics/pure-gl/Makefile @@ -5,38 +5,26 @@ PORTNAME= pure-gl PORTVERSION= 0.8 PORTREVISION= 4 CATEGORIES= graphics -MASTER_SITES https://cdn.bitbucket.org/purelang/pure-lang/downloads/ +MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/ DIST_SUBDIR= pure MAINTAINER= ports@FreeBSD.org COMMENT= Pure language interface to OpenGL -LICENSE= BSD +LICENSE= BSD3CLAUSE USES= pure:ffi USE_GL= glut - MAKE_ARGS+= LinkGL="-lglut -lGLU -lGL" - -NO_STAGE= yes - PORTDOCS= README - PORTEXAMPLES= * - OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/pure-gl.so + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include