summaryrefslogtreecommitdiff
path: root/editors/the/Makefile
blob: f109d5e5a570c0e833fe5bccb061e0f525b9b223 (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
# New ports collection makefile for:	THE
# Date created:		7 May 1999
# Whom:			giffunip@asme.org
#
# $FreeBSD$
#

PORTNAME=	the
PORTVERSION=	3.1
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	hessling-editor
DISTNAME=	THE-${PORTVERSION}

PATCH_SITES=	http://users.comlab.ox.ac.uk/ian.collier/distribution/
PATCHFILES=	${DISTNAME}-rexximc.patch
PATCH_DIST_STRIP=	-p1

MAINTAINER=	ports@FreeBSD.org
COMMENT=	"The Hessling Editor", an implementation of the xedit editor

BUILD_DEPENDS=	rexx:${PORTSDIR}/lang/rexx-imc
RUN_DEPENDS=	rexx:${PORTSDIR}/lang/rexx-imc

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ncurses --with-rexx=rexximc \
		--with-rexxincdir=${LOCALBASE}/include \
		--with-rexxlibdir=${LOCALBASE}/lib
ALL_TARGET=	all html

MAN1=		the.1

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/THE
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/THE
.endif

.include <bsd.port.mk>