Date: Thu, 20 Jun 2013 20:14:04 +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: r321420 - head/comms/sredird Message-ID: <201306202014.r5KKE4h4060868@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Thu Jun 20 20:14:03 2013 New Revision: 321420 URL: http://svnweb.freebsd.org/changeset/ports/321420 Log: . add license (GPLv2); . bump PORTREVISION; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . mute mkdir command; . do not surround PORTDOCS with .if operator; . trim Makefile headers. Modified: head/comms/sredird/Makefile Modified: head/comms/sredird/Makefile ============================================================================== --- head/comms/sredird/Makefile Thu Jun 20 20:04:50 2013 (r321419) +++ head/comms/sredird/Makefile Thu Jun 20 20:14:03 2013 (r321420) @@ -1,12 +1,9 @@ -# New ports collection makefile for: sredird -# Date created: 19 Dec 1999 -# Whom: Maxim Sobolev <sobomax@FreeBSD.org> -# +# Created by: Maxim Sobolev <sobomax@FreeBSD.org> # $FreeBSD$ -# PORTNAME= sredird PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= system/serial @@ -14,19 +11,23 @@ MASTER_SITE_SUBDIR= system/serial MAINTAINER= ports@FreeBSD.org COMMENT= RFC 2217 compliant serial port redirector +LICENSE= GPLv2 + PLIST_FILES= libexec/sredird -.if !defined(NOPORTDOCS) -PORTDOCS= README COPYING -.endif +PORTDOCS= README + +OPTIONS_DEFINE= DOCS do-build: ${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/COPYING ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306202014.r5KKE4h4060868>