aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/mudix/Makefile10
-rw-r--r--net/mudix/distinfo2
2 files changed, 7 insertions, 5 deletions
diff --git a/net/mudix/Makefile b/net/mudix/Makefile
index c0b07929c416..bcbf94e45a6b 100644
--- a/net/mudix/Makefile
+++ b/net/mudix/Makefile
@@ -6,16 +6,18 @@
#
PORTNAME= mudix
-PORTVERSION= 3.5
+PORTVERSION= 4.0
CATEGORIES= net
MASTER_SITES= http://dwizardry.dhs.org/mudix/
MAINTAINER= ports@FreeBSD.org
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+GNU_CONFIGURE= yes
+ALL_TARGET= # none
-MAKE_ARGS= CC="${CC}" O_FLAGS="${CFLAGS}"
-ALL_TARGET= mudix
+pre-patch:
+ @${PERL} -pi -e 's|-O -g|\@CFLAGS\@|g ; \
+ s|mudix.h conf.h||g' ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mudix ${PREFIX}/bin
diff --git a/net/mudix/distinfo b/net/mudix/distinfo
index 880b9777bb6c..52930d1a0352 100644
--- a/net/mudix/distinfo
+++ b/net/mudix/distinfo
@@ -1 +1 @@
-MD5 (mudix-3.5.tar.gz) = e13b0323deddc612ab8109916cef7e5f
+MD5 (mudix-4.0.tar.gz) = efb323d1d5afa1897e3df6858d77e702