mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build on 9-stable
- Support NOPORTDOCS PR: 168027 Submitted by: Ports Fury
This commit is contained in:
parent
f44139e047
commit
84a57e36a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297078
2 changed files with 13 additions and 12 deletions
|
@ -19,18 +19,19 @@ ONLY_FOR_ARCHS= i386
|
||||||
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e \
|
||||||
.if ${OSVERSION} >= 900035
|
's|gcc|$${CC}| ; \
|
||||||
BROKEN= Does not compile on recent FreeBSD-9
|
/strip/d' ${WRKSRC}/Makefile
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include
|
||||||
${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib
|
${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib
|
||||||
${LN} -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so
|
${LN} -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so
|
||||||
${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include
|
.if !defined(NOPORTDOCS)
|
||||||
${MKDIR} ${PREFIX}/share/doc/fastcrc
|
@${MKDIR} ${DOCSDIR}
|
||||||
${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc
|
${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -2,5 +2,5 @@ bin/fc
|
||||||
include/fastcrc.h
|
include/fastcrc.h
|
||||||
lib/libfcrc.so
|
lib/libfcrc.so
|
||||||
lib/libfcrc.so.1
|
lib/libfcrc.so.1
|
||||||
share/doc/fastcrc/index.html
|
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||||
@dirrm share/doc/fastcrc
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue