mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
cad/tkgate: remove unnecessary REINPLACE_CMD
While here, fix a patch, add some missing deps and clean up
This commit is contained in:
parent
0f47a4b77b
commit
c021e20ce5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528486
@ -11,21 +11,21 @@ COMMENT= Event driven digital circuit simulator
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES+= autoreconf gnome iconv:translit libtool pkgconfig tk:build,run
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= autoreconf gnome iconv:translit libtool pkgconfig tk
|
||||
|
||||
USE_XORG= x11 xft
|
||||
USE_GNOME= pango
|
||||
OPTIONS_DEFINE= DOCS
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/scripts/tree.tcl
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|%%TCL_VER%%|${TCL_VER}|g; \
|
||||
s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g; \
|
||||
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${WRKSRC}/configure.ac
|
||||
|
||||
# Remove backup files somehow installed to the stagedir
|
||||
post-install:
|
||||
${FIND} ${STAGEDIR}/${DATADIR} -name '*~' -delete -or -name '*~?' -delete
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -9,19 +9,19 @@
|
||||
# Tcl/Tk version we will try to use (from most favored to least favored)
|
||||
#
|
||||
-TKGATE_TCLTK_VERSIONS="8.6 8.5 8.4 8.3"
|
||||
+TKGATE_TCLTK_VERSIONS="8.6"
|
||||
+TKGATE_TCLTK_VERSIONS="%%TCL_VER%%"
|
||||
|
||||
#
|
||||
# Directories to search for include files
|
||||
#
|
||||
-TKGATE_INCDIRS="/usr/X11R6/include /usr/X11/include /pkgs/include /usr/local/include /usr/openwin/include /usr/X/include /usr/include /sw/include /opt/local/include"
|
||||
+TKGATE_INCDIRS="/usr/local/include /usr/local/include/tcl8.6"
|
||||
+TKGATE_INCDIRS="%%LOCALBASE%%/include %%TCL_INCLUDEDIR%%"
|
||||
|
||||
#
|
||||
# Directories to search for library files
|
||||
#
|
||||
-TKGATE_LIBDIRS="/usr/X11R6/lib /usr/X11/lib /pkgs/lib /usr/local/lib /usr/lib /sw/lib /opt/local/lib /usr/local/lib/tcl /usr/lib64"
|
||||
+TKGATE_LIBDIRS="/usr/local/lib"
|
||||
+TKGATE_LIBDIRS="%%LOCALBASE%%/lib"
|
||||
|
||||
#
|
||||
# Libraries we may need if available.
|
||||
|
@ -1403,7 +1403,6 @@ share/pixmaps/tkgate.xpm
|
||||
%%DATADIR%%/scripts/tkgate.tcl
|
||||
%%DATADIR%%/scripts/toolbar.tcl
|
||||
%%DATADIR%%/scripts/tree.tcl
|
||||
%%DATADIR%%/scripts/tree.tcl.bak
|
||||
%%DATADIR%%/scripts/undo.tcl
|
||||
%%DATADIR%%/scripts/vpd.tcl
|
||||
%%DATADIR%%/scripts/wizard.tcl
|
||||
|
Loading…
x
Reference in New Issue
Block a user