Fix *_DEPENDS

Submitted by: Tsuguru Kato <tkato@prontomail.ne.jp>
This commit is contained in:
Yukihiro Nakai 2000-02-12 15:18:15 +00:00
parent 1cb2c4093d
commit a62ce65e54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25688

View File

@ -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>