d41f265462
PR: ports/16781 Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: dedit
|
|
# Version required: 0.5.6
|
|
# Date created: 26 January 2000
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= dedit_0.5.6
|
|
PKGNAME= dedit-0.5.6
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ftp://ftp.debian.org/debian/dists/unstable/main/source/editors/
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
LIB_DEPENDS= iconv.0:${PORTSDIR}/converters/iconv \
|
|
gnome.3:${PORTSDIR}/x11/gnomelibs
|
|
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
|
|
|
|
WRKSRC= ${WRKDIR}/dedit-0.5.6
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_AUTOCONF= yes
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|