svn commit: r406549 - in head/math/octave-forge-video: . files

Stephen Montgomery-Smith stephen at FreeBSD.org
Mon Jan 18 06:18:52 UTC 2016


Author: stephen
Date: Mon Jan 18 06:18:50 2016
New Revision: 406549
URL: https://svnweb.freebsd.org/changeset/ports/406549

Log:
  - Update to 1.2.1.
  - Remove broken.

Deleted:
  head/math/octave-forge-video/files/
Modified:
  head/math/octave-forge-video/Makefile

Modified: head/math/octave-forge-video/Makefile
==============================================================================
--- head/math/octave-forge-video/Makefile	Mon Jan 18 06:16:37 2016	(r406548)
+++ head/math/octave-forge-video/Makefile	Mon Jan 18 06:18:50 2016	(r406549)
@@ -2,23 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	octave-forge-video
-PORTVERSION=	1.0.2
-PORTREVISION=	14
+PORTVERSION=	1.2.1
 CATEGORIES=	math
 
 MAINTAINER=	stephen at FreeBSD.org
 COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
 
 LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
 
-BROKEN=		does not build with octave-4.0.0
-
-USES=		pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	HOME=${WRKSRC}
 
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${DISTNAME}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+
 LIB_DEPENDS+=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
 
 .include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+	${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
+	cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list