aboutsummaryrefslogtreecommitdiff
path: root/net/smm++
diff options
context:
space:
mode:
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