aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/dedit/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/editors/dedit/Makefile b/editors/dedit/Makefile
index f4d861a68a7d..4c987fce6dcb 100644
--- a/editors/dedit/Makefile
+++ b/editors/dedit/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= iconv.0:${PORTSDIR}/converters/iconv \
gnome.3:${PORTSDIR}/x11/gnomelibs
+BUILD_DEPENDS= automake:${PORTSDIR}/devel/autoconf
WRKSRC= ${WRKDIR}/dedit-0.5.6
@@ -23,6 +24,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--with-gnome=${PREFIX}
@@ -30,9 +32,20 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASSE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib -liconv"
-MAN1= dedit.1 dedit.ja.1
+MAN1= dedit.1
+.if defined(KANJI)
+MANLANG= "" ja
+.endif
pre-configure:
- ( cd ${WRKSRC}; ${SH} bootstrap )
+ cd ${WRKSRC}; \
+ aclocal -I macros -I ${X11BASE}/share/aclocal; \
+ ${SH} bootstrap
+
+post-install:
+.if defined(KANJI)
+ ${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 \
+ ${PREFIX}/man/ja/man1/dedit.1
+.endif
.include <bsd.port.mk>