aboutsummaryrefslogtreecommitdiff
path: root/editors/aee/Makefile
blob: 4b9e0494b87264ba001837b1b6bc15db3b1f0a44 (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
# New ports collection makefile for:	aee
# Date created:		19 Aug 1999
# Whom:			Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#

PORTNAME=	aee
PORTVERSION=	2.2.15b
CATEGORIES=	editors
MASTER_SITES=	http://mahon.cwx.net/sources/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An easy editor with both curses and X11 interfaces

.if !defined(BUILD_XAE)
ALL_TARGET=	main
pre-fetch:
	@${ECHO}
	@${ECHO} "If you would like to also install the X11 version of aee (xae)"
	@${ECHO} "use 'make install BUILD_XAE=yes'. However, the X11 interface looks"
	@${ECHO} "almost exactly like the text-based curses version."
	@${ECHO}
.else
USE_XLIB=	yes
ALL_TARGET=	both
PLIST=		${PKGDIR}/pkg-plist.xae
.endif

MAN1=		aee.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/aee ${PREFIX}/bin
	${LN} ${PREFIX}/bin/aee ${PREFIX}/bin/rae
	${INSTALL_MAN} ${WRKSRC}/aee.1 ${PREFIX}/man/man1
	${INSTALL_DATA} ${WRKSRC}/help.ae ${PREFIX}/lib
.if defined(BUILD_XAE)
	${INSTALL_PROGRAM} ${WRKSRC}/xae ${PREFIX}/bin
	${LN} ${PREFIX}/bin/xae ${PREFIX}/bin/rxae
.endif

.include <bsd.port.mk>