Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2016 14:40:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423973 - head/x11-toolkits/flowcanvas
Message-ID:  <201610141440.u9EEeTbb031524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 14 14:40:29 2016
New Revision: 423973
URL: https://svnweb.freebsd.org/changeset/ports/423973

Log:
  - Fix LICENSE
  - Switch to USES=waf, simplifying the port

Modified:
  head/x11-toolkits/flowcanvas/Makefile

Modified: head/x11-toolkits/flowcanvas/Makefile
==============================================================================
--- head/x11-toolkits/flowcanvas/Makefile	Fri Oct 14 14:34:42 2016	(r423972)
+++ head/x11-toolkits/flowcanvas/Makefile	Fri Oct 14 14:40:29 2016	(r423973)
@@ -10,41 +10,26 @@ MASTER_SITES=	http://download.drobilla.n
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Interactive Gtkmm/Gnomecanvasmm widget
 
-LICENSE=	GPLv2 GPLv3
-LICENSE_COMB=	dual
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
 		libgvc.so:graphics/graphviz \
 		libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
 		libgtkmm-2.4.so:x11-toolkits/gtkmm24
 
-USES=		tar:bzip2 pkgconfig python:build
+USES=		pkgconfig tar:bzip2 waf
 USE_LDCONFIG=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include
 
-.include <bsd.port.pre.mk>
-
-.if defined(BATCH) || defined(PACKAGE_BUILDING)
-WAF_VERBOSE=	--verbose
-.endif
-
-WAF_JOBS=	--jobs=${MAKE_JOBS_NUMBER}
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		"s|$$[{]LIBDIRNAME[}]/pkgconfig|libdata/pkgconfig| ; \
 		 s|-fshow-column'|-fshow-column ${CXXFLAGS}'|" \
 			${WRKSRC}/autowaf/autowaf.py
 
-do-configure:
-	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} --prefix=${PREFIX} configure)
-
-do-build:
-	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
-
-do-install:
-	@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} --destdir=${STAGEDIR} install)
+post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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