1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/editors/dedit/Makefile
Kris Kennaway 8697333ffb Use MASTER_SITE_DEBIAN_POOL and correct invalid use of USE_GNOME (missed in
earlier sweeps)

PR:		ports/50572
Submitted by:	Alex Semenyaka <alexs@ratmir.ru>
2003-08-04 05:00:09 +00:00

40 lines
933 B
Makefile

# New ports collection makefile for: dedit
# Date created: 26 January 2000
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dedit
PORTVERSION= 0.6.2.3
PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nakai@FreeBSD.org
COMMENT= A simple GNOME i18n editor
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_GNOME= gnomelibs gtk12 glib12 orbit
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -liconv"
MAN1= dedit.1
MANLANG= "" ja
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|dedit.ja.1||'
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 ${MANPREFIX}/man/ja/man1/dedit.1
.include <bsd.port.mk>