aboutsummaryrefslogtreecommitdiff
path: root/net/ttlscan
diff options
context:
space:
mode:
Diffstat (limited to 'net/ttlscan')
-rw-r--r--net/ttlscan/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ttlscan/Makefile b/net/ttlscan/Makefile
index 45e31b1bad90..801dbc840d1d 100644
--- a/net/ttlscan/Makefile
+++ b/net/ttlscan/Makefile
@@ -17,6 +17,8 @@ LDFLAGS+= -lpcap -ldnet
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
+OPTIONS_DEFINE= DOCS
+
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -D_XOPEN_SOURCE \
`${LIBNET_CONFIG} --defines --cflags` ${PORTNAME}.c -o ${PORTNAME} `${LIBNET_CONFIG} --libs` ${LDFLAGS})
@@ -24,9 +26,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} -s ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>