aboutsummaryrefslogtreecommitdiff
path: root/net/smm++
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2010-06-25 17:06:03 +0000
committerMikhail Teterin <mi@FreeBSD.org>2010-06-25 17:06:03 +0000
commitef1f9231cb35828af6af96dc60731195157a0bb1 (patch)
tree3d01b0dbd35fcac5634bb9fd55f0891440d2825d /net/smm++
parente402d91f8ac2a9e815ed1887b0301a08213ec037 (diff)
downloadports-ef1f9231cb35828af6af96dc60731195157a0bb1.tar.gz
ports-ef1f9231cb35828af6af96dc60731195157a0bb1.zip
Fix-up yet another port, that broke, because it did not use the USE_TCL
knob, but uses itcl/itk... We will rely on USE_TK here now and explitly set the wish-version in itk.sh in the post-patch. Approved by: portmgr (pav) Feature safe: yes
Notes
Notes: svn path=/head/; revision=256960
Diffstat (limited to 'net/smm++')
-rw-r--r--net/smm++/Makefile13
-rw-r--r--net/smm++/files/patch-itk.sh11
2 files changed, 6 insertions, 18 deletions
diff --git a/net/smm++/Makefile b/net/smm++/Makefile
index 12beae893f2d..74cf43bfa7f3 100644
--- a/net/smm++/Makefile
+++ b/net/smm++/Makefile
@@ -18,15 +18,14 @@ COMMENT= Graphical mudclient with mapper
RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets4.0.1/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets
BUILD_DEPENDS= ${LOCALBASE}/lib/libitk.so:${PORTSDIR}/x11-toolkits/itk \
- ${LOCALBASE}/lib/libitcl.so.3:${PORTSDIR}/lang/itcl
+ ${LOCALBASE}/lib/libitcl.so:${PORTSDIR}/lang/itcl
WRKSRC= ${WRKDIR}/smm/Install.unix
-USE_GMAKE= yes
+#USE_GMAKE= yes
+USE_TK= 84+
+EXTRACT_AFTER_ARGS+=|${TAR} -xpf - --exclude CVS
-post-extract:
- ${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf
-
-do-configure:
- @echo "No configure needed"
+post-patch:
+ ${REINPLACE_CMD} -e 's,itkarray=.*,itkarray=${WISH},' ${WRKSRC}/itk.sh
.include <bsd.port.mk>
diff --git a/net/smm++/files/patch-itk.sh b/net/smm++/files/patch-itk.sh
deleted file mode 100644
index 65ff2e981ef8..000000000000
--- a/net/smm++/files/patch-itk.sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- itk.sh.orig Tue Jan 22 18:48:12 2002
-+++ itk.sh Tue Jan 22 18:48:48 2002
-@@ -4,7 +4,7 @@
- #
-
- # all possible itkwish executables
--itkarray="itkwish3.1 itkwish3 itkwish30 itkwish3.0 itkwish"
-+itkarray="itkwish3.1 itkwish3 itkwish30 itkwish3.0 itkwish wish8.4 wish8.3 wish8.2"
-
- set $itkarray
- while [ ! -z "$1" ]; do