aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-02-12 23:18:15 +0800
committernakai <nakai@FreeBSD.org>2000-02-12 23:18:15 +0800
commit5b465a59ae9690c2516a63d2276a78b7e2da316d (patch)
treefae3e1e61352d8b36a9d9293c78e6813e9ca29d9 /editors
parent073cbe8803c3ebca52f5060268ab66a064b82b2d (diff)
downloadfreebsd-ports-gnome-5b465a59ae9690c2516a63d2276a78b7e2da316d.tar.gz
freebsd-ports-gnome-5b465a59ae9690c2516a63d2276a78b7e2da316d.tar.zst
freebsd-ports-gnome-5b465a59ae9690c2516a63d2276a78b7e2da316d.zip
Fix *_DEPENDS
Submitted by: Tsuguru Kato <tkato@prontomail.ne.jp>
Diffstat (limited to 'editors')
-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>