Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 14:39:57 +0000 (UTC)
From:      Vanilla I. Shu <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364277 - head/graphics/pure-gl
Message-ID:  <53e38fbd.567a.49540402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Aug  7 14:39:56 2014
New Revision: 364277
URL: http://svnweb.freebsd.org/changeset/ports/364277
QAT: https://qat.redports.org/buildarchive/r364277/

Log:
  1: Stagify.
  2: Strip binary.

Modified:
  head/graphics/pure-gl/Makefile

Modified: head/graphics/pure-gl/Makefile
==============================================================================
--- head/graphics/pure-gl/Makefile	Thu Aug  7 14:32:02 2014	(r364276)
+++ head/graphics/pure-gl/Makefile	Thu Aug  7 14:39:56 2014	(r364277)
@@ -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 <bsd.port.options.mk>
-
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e38fbd.567a.49540402>