Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 07:32:16 -0400 (EDT)
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189995: update port: multimedia/freevo add staging support
Message-ID:  <201405201132.s4KBWG9M009151@homobox.opal.com>
Resent-Message-ID: <201405201140.s4KBe0xJ022302@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189995
>Category:       ports
>Synopsis:       update port: multimedia/freevo add staging support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 11:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 10.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD xx.opal.com 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #1 r265194: Thu May 1 11:10:03 EDT 2014 xx@xx.opal.com:/usr/src/sys/amd64/compile/XX amd64
>Description:
add staging support
add PATH t rc.d script
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/multimedia/freevo/Makefile multimedia/freevo/Makefile
--- /usr/ports/multimedia/freevo/Makefile	2014-03-10 16:55:20.000000000 -0400
+++ multimedia/freevo/Makefile	2014-05-20 07:01:02.000000000 -0400
@@ -3,7 +3,7 @@
 
 PORTNAME=	freevo
 PORTVERSION=	1.9.0
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/${PORTNAME}/Freevo%20releases/${PORTVERSION}
 
@@ -55,8 +55,6 @@
 DATADIR=	${PREFIX}/share/${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	NLS
 
 .include <bsd.port.options.mk>
@@ -86,9 +84,8 @@
 
 post-install:
 	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-	${MKDIR} ${CONFDIR}
-	${CHMOD} a+rx ${CONFDIR}
-	${INSTALL_DATA} ${WRKSRC}/local_conf.py.example ${CONFDIR}
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${CONFDIR}
+	${CHMOD} a+rx ${STAGEDIR}${CONFDIR}
+	${INSTALL_DATA} ${WRKSRC}/local_conf.py.example ${STAGEDIR}${CONFDIR}
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/multimedia/freevo/files/freevo.in multimedia/freevo/files/freevo.in
--- /usr/ports/multimedia/freevo/files/freevo.in	2014-01-23 19:14:07.000000000 -0500
+++ multimedia/freevo/files/freevo.in	2014-05-20 06:54:42.000000000 -0400
@@ -32,6 +32,9 @@
 command="%%PREFIX%%/bin/freevo"
 command_interpreter="%%PREFIX%%/bin/%%PYTHON_VERSION%%"
 
+# freevo needs PATH set so it can determine python version
+export PATH=/bin:/usr/bin:%%PREFIX%%/bin:${freevo_dir}/bin
+
 cd ${freevo_dir}
 
 msg() {
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405201132.s4KBWG9M009151>