Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 09:03:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397946 - head/math/octave-forge-base
Message-ID:  <201509260903.t8Q93LBZ058517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep 26 09:03:21 2015
New Revision: 397946
URL: https://svnweb.freebsd.org/changeset/ports/397946

Log:
  Use load-octave-pkg in preunexec for octave-forge-base,  this is the only
  octave-forge-* port where it makes sense since it provides load-octave-pkg
  (load-octave-pkg is no longer available postunexec)

Modified:
  head/math/octave-forge-base/Makefile
  head/math/octave-forge-base/pkg-plist

Modified: head/math/octave-forge-base/Makefile
==============================================================================
--- head/math/octave-forge-base/Makefile	Sat Sep 26 09:00:45 2015	(r397945)
+++ head/math/octave-forge-base/Makefile	Sat Sep 26 09:03:21 2015	(r397946)
@@ -3,7 +3,7 @@
 
 PORTNAME=	octave-forge-base
 PORTVERSION=	1.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	math
 MASTER_SITES=	#none
 DISTFILES=	#none
@@ -14,7 +14,7 @@ COMMENT=	Octave-forge baseport for all p
 
 LICENSE=	BSD2CLAUSE
 
-RUN_DEPENDS+=	octave:${PORTSDIR}/math/octave \
+RUN_DEPENDS=	octave:${PORTSDIR}/math/octave \
 		gmake:${PORTSDIR}/devel/gmake \
 		p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \
 		p5-IO-Zlib>=0:${PORTSDIR}/archivers/p5-IO-Zlib \
@@ -22,10 +22,8 @@ RUN_DEPENDS+=	octave:${PORTSDIR}/math/oc
 
 USES=		perl5
 SUB_FILES=	load-octave-pkg
-SUB_LIST+=	PERL=${PERL}
-
-do-build:
-	@${DO_NADA}
+SUB_LIST=	PERL=${PERL}
+NO_BUILD=	yes
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/octave/tarballs

Modified: head/math/octave-forge-base/pkg-plist
==============================================================================
--- head/math/octave-forge-base/pkg-plist	Sat Sep 26 09:00:45 2015	(r397945)
+++ head/math/octave-forge-base/pkg-plist	Sat Sep 26 09:03:21 2015	(r397946)
@@ -1,4 +1,4 @@
-@postunexec %D/libexec/octave/load-octave-pkg || true
+@preunexec %D/libexec/octave/load-octave-pkg || true
 libexec/octave/load-octave-pkg
 @postexec %D/libexec/octave/load-octave-pkg
 @dir share/octave/tarballs



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