mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Remove NOPORTDOCS.
This commit is contained in:
parent
3631e2333a
commit
b3d46c21d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360665
@ -9,23 +9,23 @@ MASTER_SITES= SF
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Simple console-based chat that uses ICMP protocol
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|;\
|
||||
${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|;\
|
||||
s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile
|
||||
# Fix for GCC 4.2
|
||||
@${REINPLACE_CMD} -e \
|
||||
${REINPLACE_CMD} -e \
|
||||
's|((uint8_t \*) data) +=|data += sizeof(uint8_t *) *|' \
|
||||
${WRKSRC}/sha256.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/icmpchat ${STAGEDIR}${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Changes ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/License ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Problems ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Readme ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Todo ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user