1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: Strip binary.
This commit is contained in:
Vanilla I. Shu 2014-08-07 14:39:56 +00:00
parent 94e7271b83
commit 12f39f759d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364277

View File

@ -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>