From owner-svn-ports-all@freebsd.org Sun Dec 6 20:35:55 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DC9F9A00E6; Sun, 6 Dec 2015 20:35:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE7C17F8; Sun, 6 Dec 2015 20:35:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB6KZsbo046946; Sun, 6 Dec 2015 20:35:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB6KZsWJ046945; Sun, 6 Dec 2015 20:35:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512062035.tB6KZsWJ046945@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 6 Dec 2015 20:35:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403161 - head/comms/ser2net X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 20:35:55 -0000 Author: amdmi3 Date: Sun Dec 6 20:35:54 2015 New Revision: 403161 URL: https://svnweb.freebsd.org/changeset/ports/403161 Log: - Add LICENSE_FILE - Don't install install instructions - Simplify installation - Switch to options helpers Modified: head/comms/ser2net/Makefile Modified: head/comms/ser2net/Makefile ============================================================================== --- head/comms/ser2net/Makefile Sun Dec 6 20:35:45 2015 (r403160) +++ head/comms/ser2net/Makefile Sun Dec 6 20:35:54 2015 (r403161) @@ -10,18 +10,19 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Allows to access serial ports over IP LICENSE= GPLv2 # (or later) - -OPTIONS_DEFINE= DOCS +LICENSE_FILE= ${WRKSRC}/COPYING USE_RC_SUBR= ${PORTNAME} USES= autoreconf libtool GNU_CONFIGURE= yes -PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README +PORTDOCS= AUTHORS ChangeLog NEWS README PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \ man/man8/${PORTNAME}.8.gz +OPTIONS_DEFINE= DOCS + post-patch: .for i in ${PORTNAME}.c ${PORTNAME}.8 @${REINPLACE_CMD} -e \ @@ -33,12 +34,14 @@ post-patch: .endfor do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ - ${STAGEDIR}${PREFIX}/sbin) - (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.8 \ - ${STAGEDIR}${MAN8PREFIX}/man/man8) - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTNAME}.conf \ - ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \ + ${STAGEDIR}${MAN8PREFIX}/man/man8 + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})