From 682ad0407419dbcfa5894d684b195e0fb0f65291 Mon Sep 17 00:00:00 2001 From: bsam Date: Thu, 20 Jun 2013 19:09:06 +0000 Subject: . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . remove extra tabs from commands; . mute mkdir command; . install two files at one line command; . trim Makefile headers. --- comms/tcpser/Makefile | 19 +++++++++---------- 1 file 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 -# +# Created by: Edward Tomasz Napierala # $FreeBSD$ -# PORTNAME= tcpser DISTVERSION= 1.0rc12 @@ -20,12 +16,15 @@ LDFLAGS+= ${PTHREAD_LIBS} PORTDOCS= README CHANGES PLIST_FILES= bin/tcpser +OPTIONS_DEFINE= DOCS + +.include + 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 -- cgit