diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-02-12 15:18:15 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-02-12 15:18:15 +0000 |
commit | a62ce65e546409e4d329e09165a52b3593f75a7b (patch) | |
tree | ff8a61cc74a27b133327cfcfcbb1e8553879645b /editors | |
parent | Update to 0.83 (diff) |
Fix *_DEPENDS
Submitted by: Tsuguru Kato <tkato@prontomail.ne.jp>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/dedit/Makefile | 17 |
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> |