summaryrefslogtreecommitdiff
path: root/editors/nedit/Makefile
blob: 9adccafdeb59423e33b7740f93376856096884ce (plain)
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
# Created by: Daniel Eischen <deischen@FreeBSD.org>

PORTNAME=	nedit
PORTVERSION=	5.7
CATEGORIES=	editors
MASTER_SITES=	LOCAL/swills
DISTFILES=	nedit-${PORTVERSION}-src.tar.gz \
		nedit.app-defaults
EXTRACT_ONLY=	nedit-${PORTVERSION}-src.tar.gz

MAINTAINER=	swills@FreeBSD.org
COMMENT=	X11/Motif GUI text editor for programs and plain text files

LICENSE=	GPLv1

USES=		motif perl5 xorg
USE_PERL5=	build
ALL_TARGET=	freebsd

PLIST_FILES=	bin/nclient \
		bin/nedit \
		lib/X11/app-defaults/NEdit.ad \
		man/man1/nclient.1.gz \
		man/man1/nedit.1.gz

post-extract:
	${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad

post-build:
	cd ${WRKSRC} && make docs

post-install::
.for file in nedit nclient
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor

.include <bsd.port.mk>