freebsd-ports/editors/dedit/Makefile

42 lines
917 B
Makefile
Raw Normal View History

2000-01-31 03:43:45 -05:00
# New ports collection makefile for: dedit
# Date created: 26 January 2000
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
2000-04-13 20:25:54 -04:00
PORTNAME= dedit
PORTVERSION= 0.6.2.1
CATEGORIES= editors gnome
MASTER_SITES= ftp://ftp.debian.org/debian/dists/woody/main/source/editors/
2000-04-13 20:25:54 -04:00
DISTNAME= ${PORTNAME}_${PORTVERSION}
2000-01-31 03:43:45 -05:00
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
2000-01-31 03:43:45 -05:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
2000-01-31 03:43:45 -05:00
USE_X_PREFIX= yes
2000-10-05 03:10:50 -04:00
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2000-01-31 03:43:45 -05:00
LIBS="-L${LOCALBASE}/lib -liconv"
MAN1= dedit.1
.if defined(KANJI)
MANLANG= "" ja
.endif
2000-01-31 03:43:45 -05:00
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g'
post-install:
.if defined(KANJI)
2000-10-05 03:10:50 -04:00
${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 \
${PREFIX}/man/ja/man1/dedit.1
.endif
2000-01-31 03:43:45 -05:00
.include <bsd.port.mk>