Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2021 23:41:59 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r563852 - branches/2021Q1/cad/qrouter
Message-ID:  <202102022341.112NfxAC064021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Feb  2 23:41:59 2021
New Revision: 563852
URL: https://svnweb.freebsd.org/changeset/ports/563852

Log:
  MFH: r563851
  
  cad/qrouter: Make the configure to pick up Tck/Tk.
  
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (via e-mail)

Added:
  branches/2021Q1/cad/qrouter/pkg-plist
     - copied unchanged from r563851, head/cad/qrouter/pkg-plist
Modified:
  branches/2021Q1/cad/qrouter/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/cad/qrouter/Makefile
==============================================================================
--- branches/2021Q1/cad/qrouter/Makefile	Tue Feb  2 23:39:44 2021	(r563851)
+++ branches/2021Q1/cad/qrouter/Makefile	Tue Feb  2 23:41:59 2021	(r563852)
@@ -2,6 +2,7 @@
 
 PORTNAME=	qrouter
 DISTVERSION=	1.4.83
+PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	http://opencircuitdesign.com/${PORTNAME}/archive/
 
@@ -11,19 +12,15 @@ COMMENT=	Tool to generate metal layers and vias
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-BUILD_DEPENDS=	tk87>0:x11-toolkits/tk87 \
-		tcl87>0:lang/tcl87
+USES=		gmake localbase tar:tgz xorg tk:87
+USE_XORG=	ice sm x11 xt
 
-USES=		gmake localbase tar:tgz xorg
-USE_XORG=	xt
-
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR}
 
-CFLAGS+=	-I${LOCALBASE}/include/tk8.7 -I${LOCALBASE}/include/tcl8.7
-
-PLIST_FILES=	bin/${PORTNAME}
-
-post-stage:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+post-install:
+.for f in qrouter.so qrouterexec qrouternullg
+	@${STRIP_CMD} ${STAGEDIR}/${DATADIR}/${f}
+.endfor
 
 .include <bsd.port.mk>

Copied: branches/2021Q1/cad/qrouter/pkg-plist (from r563851, head/cad/qrouter/pkg-plist)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2021Q1/cad/qrouter/pkg-plist	Tue Feb  2 23:41:59 2021	(r563852, copy of r563851, head/cad/qrouter/pkg-plist)
@@ -0,0 +1,7 @@
+bin/qrouter
+%%DATADIR%%/console.tcl
+%%DATADIR%%/qrouter.so
+%%DATADIR%%/qrouter.tcl
+%%DATADIR%%/qrouterexec
+%%DATADIR%%/qrouternullg
+%%DATADIR%%/tkcon.tcl



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