From owner-svn-ports-head@freebsd.org Tue Nov 10 20:25:51 2015 Return-Path: Delivered-To: svn-ports-head@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 4EDC6A2B544; Tue, 10 Nov 2015 20:25:51 +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 1B8391C8B; Tue, 10 Nov 2015 20:25:51 +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 tAAKPoBs088050; Tue, 10 Nov 2015 20:25:50 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAAKPoKN088049; Tue, 10 Nov 2015 20:25:50 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201511102025.tAAKPoKN088049@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 10 Nov 2015 20:25:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401210 - head/misc/pastebinit X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 20:25:51 -0000 Author: amdmi3 Date: Tue Nov 10 20:25:50 2015 New Revision: 401210 URL: https://svnweb.freebsd.org/changeset/ports/401210 Log: - Take maintainership - Add NO_ARCH - Switch to options helpers Modified: head/misc/pastebinit/Makefile Modified: head/misc/pastebinit/Makefile ============================================================================== --- head/misc/pastebinit/Makefile Tue Nov 10 20:25:21 2015 (r401209) +++ head/misc/pastebinit/Makefile Tue Nov 10 20:25:50 2015 (r401210) @@ -6,7 +6,7 @@ PORTREVISION= 2 CATEGORIES= misc python MASTER_SITES= https://launchpad.net/pastebinit/trunk/${PORTVERSION}/+download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= amdmi3@FreeBSD.org COMMENT= Command line utility for pastebing LICENSE= GPLv2 # or later @@ -18,26 +18,22 @@ USES= python:run shebangfix tar:bzip2 SHEBANG_FILES= pastebinit python_OLD_CMD= /usr/bin/python3 NO_BUILD= yes +NO_ARCH= yes PLIST_FILES= bin/pastebinit +PORTDATA= * OPTIONS_DEFINE= PASTEBINS +OPTIONS_DEFAULT=PASTEBINS PASTEBINS_DESC= Install default pastebins -OPTIONS_DEFAULT= PASTEBINS - -.include - -.if ${PORT_OPTIONS:MPASTEBINS} -PORTDATA= pastebin.d -.endif post-patch: ${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ ${WRKSRC}/pastebinit do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} -.if ${PORT_OPTIONS:MPASTEBINS} + +do-install-PASTEBINS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}) -.endif .include