# New ports collection makefile for:    edith
# Date created:         8 February 2002
# Whom:                 Christian Brueffer <chris@unixpages.org>
#
# $FreeBSD: ports/editors/edith/Makefile,v 1.4 2002/05/18 02:29:11 sada Exp $
#

PORTNAME=	edith
PORTVERSION=	1.58
CATEGORIES=	editors linux
MASTER_SITES=	ftp://ftp.eidetica.com/pub/edith/x11/
DISTFILES=	edith1.55.common.tar.gz \
		edith1.58.linux-glibc.tar.gz

MAINTAINER=	chris@unixpages.org

USE_LINUX=	yes
USE_X_PREFIX=	yes
ONLY_FOR_ARCHS=	i386

NO_CDROM=	"Redistribution not allowed"
NO_PACKAGE=	"Redistribution not allowed"
NO_BUILD=	yes

MAN1=		edith.1
MANCOMPRESSED=	no

WRKSRC=		${WRKDIR}/edith
EDITHDIR=	${PREFIX}/lib/edith
STRIP=

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/edith ${PREFIX}/bin
	${MKDIR} ${EDITHDIR}
	${MKDIR} ${EDITHDIR}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/bin/edi* ${EDITHDIR}/bin
.for i in defaults help
	${MKDIR} ${EDITHDIR}/${i}
	${INSTALL_DATA} ${WRKSRC}/${i}/* ${EDITHDIR}/${i}
.endfor
	${INSTALL_MAN} ${WRKSRC}/edith.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
