svn commit: r563851 - head/cad/qrouter
Yuri Victorovich
yuri at FreeBSD.org
Tue Feb 2 23:39:45 UTC 2021
Author: yuri
Date: Tue Feb 2 23:39:44 2021
New Revision: 563851
URL: https://svnweb.freebsd.org/changeset/ports/563851
Log:
cad/qrouter: Make the configure to pick up Tck/Tk.
Submitted by: Kevin Zheng <kevinz5000 at gmail.com> (via e-mail)
Added:
head/cad/qrouter/pkg-plist (contents, props changed)
Modified:
head/cad/qrouter/Makefile
Modified: head/cad/qrouter/Makefile
==============================================================================
--- head/cad/qrouter/Makefile Tue Feb 2 23:24:03 2021 (r563850)
+++ head/cad/qrouter/Makefile Tue Feb 2 23:39:44 2021 (r563851)
@@ -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>
Added: head/cad/qrouter/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/qrouter/pkg-plist Tue Feb 2 23:39:44 2021 (r563851)
@@ -0,0 +1,7 @@
+bin/qrouter
+%%DATADIR%%/console.tcl
+%%DATADIR%%/qrouter.so
+%%DATADIR%%/qrouter.tcl
+%%DATADIR%%/qrouterexec
+%%DATADIR%%/qrouternullg
+%%DATADIR%%/tkcon.tcl
More information about the svn-ports-all
mailing list