diff options
-rw-r--r-- | comms/tcpser/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/comms/tcpser/Makefile b/comms/tcpser/Makefile index 52d4dbb8a8ca..017e10d4e13c 100644 --- a/comms/tcpser/Makefile +++ b/comms/tcpser/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: tcpser -# Date created: 2008-09-24 -# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org> -# +# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tcpser DISTVERSION= 1.0rc12 @@ -20,12 +16,15 @@ LDFLAGS+= ${PTHREAD_LIBS} PORTDOCS= README CHANGES PLIST_FILES= bin/tcpser +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tcpser ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/CHANGES ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/tcpser ${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/CHANGES ${DOCSDIR} .endif .include <bsd.port.mk> |