svn commit: r364277 - head/graphics/pure-gl
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Aug 7 14:39:57 UTC 2014
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 at 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>
More information about the svn-ports-head
mailing list