ports/182567: [patch] devel/scons: support staging
Boris Samorodov
bsam at FreeBSD.org
Wed Oct 2 10:40:02 UTC 2013
>Number: 182567
>Category: ports
>Synopsis: [patch] devel/scons: support staging
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 02 10:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Boris Samorodov
>Release: FreeBSD 10-amd64
>Organization:
BSDprint
>Environment:
FreeBSD srv.bb.tel.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r254955: Tue Aug 27 20:04:38 SAMT 2013 bsam at srv.bb.tel.ru:/usr/obj/usr/src/sys/BB64X amd64
>Description:
The port does not support staging.
>How-To-Repeat:
>Fix:
. support staging;
. all MAN magic is done inside staging;
. remove the indefinite article from COMMENT.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 329021)
+++ Makefile (working copy)
@@ -7,14 +7,10 @@
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= gavin at 16degrees.com.au
-COMMENT= A build tool alternative to make
+COMMENT= Build tool alternative to make
RUN_DEPENDS+= python2:${PORTSDIR}/lang/python2
-.if !defined (NO_INSTALL_MANPAGES)
-MAN1= scons.1 sconsign.1 scons-time.1
-.endif
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFODIR= ${PREFIX}/lib/scons-${PORTVERSION}
@@ -23,11 +19,4 @@
USE_PYTHON= -2.7
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if defined (NO_INSTALL_MANPAGES)
-PYDISTUTILS_INSTALLARGS+= --no-install-man
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist (revision 329021)
+++ pkg-plist (working copy)
@@ -580,6 +580,9 @@
lib/scons-%%SCONS_VER%%/SCons/exitfuncs.py
lib/scons-%%SCONS_VER%%/SCons/exitfuncs.pyc
lib/scons-%%SCONS_VER%%/SCons/exitfuncs.pyo
+man/man1/scons-time.1.gz
+man/man1/scons.1.gz
+man/man1/sconsign.1.gz
@dirrm lib/scons-%%SCONS_VER%%/SCons/compat
@dirrm lib/scons-%%SCONS_VER%%/SCons/Variables
@dirrm lib/scons-%%SCONS_VER%%/SCons/Tool/packaging
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list