mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
a324e64f75
commit
d0ec9f645b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403545
@ -40,8 +40,6 @@ USES= openal:al,alut pathfix pkgconfig compiler:c++11-lib tar:bzip2 lua:51
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '\
|
||||
s|-lGL|-L${LOCALBASE}/lib -lGL|g' \
|
||||
@ -60,11 +58,10 @@ post-install:
|
||||
${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
|
||||
${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for docfile in README.md COPYING AUTHORS ChangeLog
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user