summaryrefslogtreecommitdiff
path: root/x11/mlterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/mlterm/Makefile')
-rw-r--r--x11/mlterm/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index cb82d69610fc..ae193d535825 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mlterm
-PORTVERSION= 2.3.1
-PORTREVISION= 1
+PORTVERSION= 2.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,10 +17,11 @@ USE_X_PREFIX= yes
USE_IMLIB= yes
USE_GTK= yes
USE_LIBTOOL= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-imlib --enable-utmp
INSTALLS_SHLIB= yes
-MAN1= mlterm.1
+MAN1= mlterm.1 mlclient.1
.include <bsd.port.pre.mk>
@@ -32,11 +32,9 @@ CONFIGURE_ARGS+= --enable-anti-alias
.endif
post-configure:
- ${SED} -e "s,%%PREFIX%%,${PREFIX}," \
- -e "s,%%PERL%%,${PERL}," \
- < ${WRKSRC}/tool/w3mmlconfig/Makefile \
- > ${WRKSRC}/tool/w3mmlconfig/Makefile.bak
- ${MV} ${WRKSRC}/tool/w3mmlconfig/Makefile.bak ${WRKSRC}/tool/w3mmlconfig/Makefile
+ ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
+ -e "s,%%PERL%%,${PERL}," \
+ ${WRKSRC}/tool/w3mmlconfig/Makefile
post-build:
(cd ${WRKSRC}/tool/w3mmlconfig; ${MAKE})