summaryrefslogtreecommitdiff
path: root/editors/edith/Makefile
blob: fa7d11b412e1b1754074f69a508172eb494a99f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    edith
# Date created:         8 February 2002
# Whom:                 Christian Brueffer <chris@unixpages.org>
#
# $FreeBSD$
#

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=	ports@FreeBSD.org
COMMENT=	A X11 GUI editor for binary and plain text files

USE_LINUX=	yes
USE_X_PREFIX=	yes
ONLY_FOR_ARCHS=	i386

RESTRICTED=	"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>