aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tcpser
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-21 03:09:06 +0800
committerbsam <bsam@FreeBSD.org>2013-06-21 03:09:06 +0800
commit682ad0407419dbcfa5894d684b195e0fb0f65291 (patch)
treee75da30611c16eedc0ab9c0501190cf212f0966d /comms/tcpser
parentf051050e8b0e775af6f858a40021226180c2ab88 (diff)
downloadfreebsd-ports-gnome-682ad0407419dbcfa5894d684b195e0fb0f65291.tar.gz
freebsd-ports-gnome-682ad0407419dbcfa5894d684b195e0fb0f65291.tar.zst
freebsd-ports-gnome-682ad0407419dbcfa5894d684b195e0fb0f65291.zip
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. remove extra tabs from commands; . mute mkdir command; . install two files at one line command; . trim Makefile headers.
Diffstat (limited to 'comms/tcpser')
-rw-r--r--comms/tcpser/Makefile19
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>