MFH: r563851

cad/qrouter: Make the configure to pick up Tck/Tk.

Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (via e-mail)
This commit is contained in:
Yuri Victorovich 2021-02-02 23:41:59 +00:00
parent 2de69f8574
commit 3020a1c646
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=563852
2 changed files with 15 additions and 11 deletions

View File

@ -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
USE_XORG= xt
USES= gmake localbase tar:tgz xorg tk:87
USE_XORG= ice sm x11 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>

7
cad/qrouter/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
bin/qrouter
%%DATADIR%%/console.tcl
%%DATADIR%%/qrouter.so
%%DATADIR%%/qrouter.tcl
%%DATADIR%%/qrouterexec
%%DATADIR%%/qrouternullg
%%DATADIR%%/tkcon.tcl