1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/editors/dedit/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

2000-01-31 08:43:45 +00:00
# New ports collection makefile for: dedit
# Date created: 26 January 2000
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
2000-04-14 00:25:54 +00:00
PORTNAME= dedit
PORTVERSION= 0.5.6
2000-01-31 08:43:45 +00:00
CATEGORIES= editors
MASTER_SITES= ftp://ftp.debian.org/debian/dists/unstable/main/source/editors/
2000-04-14 00:25:54 +00:00
DISTNAME= ${PORTNAME}_${PORTVERSION}
2000-01-31 08:43:45 +00:00
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= iconv.0:${PORTSDIR}/converters/iconv \
gnome.3:${PORTSDIR}/x11/gnomelibs
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
2000-01-31 08:43:45 +00:00
WRKSRC= ${WRKDIR}/dedit-0.5.6
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_AUTOCONF= yes
2000-01-31 08:43:45 +00:00
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--with-gnome=${PREFIX}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASSE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib -liconv"
MAN1= dedit.1
.if defined(KANJI)
MANLANG= "" ja
.endif
2000-01-31 08:43:45 +00:00
pre-configure:
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
2000-01-31 08:43:45 +00:00
.include <bsd.port.mk>