summaryrefslogblamecommitdiff
path: root/editors/dedit/Makefile
blob: 06a281c12a444c9616f95825a8ed80add3a7e0ad (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            





                                                         
                     
                       
                             
                                                                            
                                          


                                 
                                                    
 
                                                    
 
                   
                   
                   
                                                   

                                                 



                       
 



                                                                    

                  

                                                 
      

                      
# New ports collection makefile for:   dedit
# Date created:        26 January 2000
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	dedit
PORTVERSION=	0.6.2.1
CATEGORIES=	editors gnome
MASTER_SITES=	ftp://ftp.debian.org/debian/dists/woody/main/source/editors/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	nakai@FreeBSD.org

LIB_DEPENDS=	iconv.2:${PORTSDIR}/converters/iconv

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_X_PREFIX=	yes
USE_GNOME=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib -liconv"

MAN1=		dedit.1
.if defined(KANJI)
MANLANG=	"" ja
.endif

pre-patch:
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g'

post-install:
.if defined(KANJI)
	${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 \
	${PREFIX}/man/ja/man1/dedit.1
.endif

.include <bsd.port.mk>