Date: Thu, 20 Jun 2013 19:09:06 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321410 - head/comms/tcpser Message-ID: <201306201909.r5KJ966h038846@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Thu Jun 20 19:09:06 2013 New Revision: 321410 URL: http://svnweb.freebsd.org/changeset/ports/321410 Log: . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . remove extra tabs from commands; . mute mkdir command; . install two files at one line command; . trim Makefile headers. Modified: head/comms/tcpser/Makefile Modified: head/comms/tcpser/Makefile ============================================================================== --- head/comms/tcpser/Makefile Thu Jun 20 18:53:07 2013 (r321409) +++ head/comms/tcpser/Makefile Thu Jun 20 19:09:06 2013 (r321410) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306201909.r5KJ966h038846>