diff options
Diffstat (limited to 'net/mudix/Makefile')
-rw-r--r-- | net/mudix/Makefile | 10 |
1 files changed, 6 insertions, 4 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 |