From b3d46c21d92e10386e83ad748d0f00305dd6c6d7 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 4 Jul 2014 21:45:20 +0000 Subject: [PATCH] Remove NOPORTDOCS. --- net-im/icmpchat/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-im/icmpchat/Makefile b/net-im/icmpchat/Makefile index 756568db5ef9..af8007b4b425 100644 --- a/net-im/icmpchat/Makefile +++ b/net-im/icmpchat/Makefile @@ -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