mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -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
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 900035
|
||||
BROKEN= Does not compile on recent FreeBSD-9
|
||||
.endif
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|gcc|$${CC}| ; \
|
||||
/strip/d' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib
|
||||
${LN} -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so
|
||||
${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include
|
||||
${MKDIR} ${PREFIX}/share/doc/fastcrc
|
||||
${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -2,5 +2,5 @@ bin/fc
|
|||
include/fastcrc.h
|
||||
lib/libfcrc.so
|
||||
lib/libfcrc.so.1
|
||||
share/doc/fastcrc/index.html
|
||||
@dirrm share/doc/fastcrc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Add table
Reference in a new issue