From owner-svn-ports-head@FreeBSD.ORG Wed Oct 9 22:35:54 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A1EB57F; Wed, 9 Oct 2013 22:35:54 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7741E2BBA; Wed, 9 Oct 2013 22:35:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r99MZs2w074931; Wed, 9 Oct 2013 22:35:54 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r99MZsoF074929; Wed, 9 Oct 2013 22:35:54 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310092235.r99MZsoF074929@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 9 Oct 2013 22:35:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329934 - in head/sysutils/su2: . files 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.14 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: Wed, 09 Oct 2013 22:35:54 -0000 Author: danilo Date: Wed Oct 9 22:35:53 2013 New Revision: 329934 URL: http://svnweb.freebsd.org/changeset/ports/329934 Log: - Add stage support [1] - Remove the indefinite article from COMMENT PR: ports/182644 Submitted by: Denis Generalov (maintainer) [1] Approved by: wg/culot (mentors, implicit) Modified: head/sysutils/su2/Makefile head/sysutils/su2/files/patch-aa Modified: head/sysutils/su2/Makefile ============================================================================== --- head/sysutils/su2/Makefile Wed Oct 9 22:24:17 2013 (r329933) +++ head/sysutils/su2/Makefile Wed Oct 9 22:35:53 2013 (r329934) @@ -8,16 +8,15 @@ CATEGORIES= sysutils security MASTER_SITES= ftp://ftp.ccs.neu.edu/pub/sysadmin/ MAINTAINER= gd@rambler-co.ru -COMMENT= An enhanced su, allows users to su with own password + more +COMMENT= Enhanced su, allows users to su with own password + more PATCH_DEPENDS= rcsdiff:${PORTSDIR}/devel/rcs NO_CDROM= Don't sell for profit -MAN1= su2.1 -PLIST_FILES= bin/su2 +PLIST_FILES= bin/su2 \ + man/man1/su2.1.gz -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \ Modified: head/sysutils/su2/files/patch-aa ============================================================================== --- head/sysutils/su2/files/patch-aa Wed Oct 9 22:24:17 2013 (r329933) +++ head/sysutils/su2/files/patch-aa Wed Oct 9 22:35:53 2013 (r329934) @@ -6,7 +6,7 @@ # -DEST=/usr/local +PREFIX?=/usr/local -+DEST=${PREFIX} ++DEST=${DESTDIR}${PREFIX} BINDIR=$(DEST)/bin -MANDIR=$(DEST)/man +MANDIR=$(DEST)/man/man1 @@ -35,7 +35,7 @@ + install: su2 - install -c -m 4711 -o root su2 $(BINDIR)/su2 -+ install -c -s -m 4711 -o root su2 $(BINDIR)/su2 ++ install -c -s -m 4711 su2 $(BINDIR)/su2 install -c su2.man $(MANDIR)/su2.1 clean: