summaryrefslogtreecommitdiff
path: root/editors/nedit/Makefile
blob: ff48f99ad553d57077486a042571c0aed3771ddf (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
38
39
40
41
42
43
44
45
46
47
48
49
# $NetBSD: Makefile,v 1.49 2007/12/30 14:21:00 obache Exp $

DISTNAME=	nedit-${VERS}-src
PKGNAME=	nedit-${VERS}
PKGREVISION=	3
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_NEDIT:=v${VERS:S/./_/g}/} \
		${MASTER_SITE_SOURCEFORGE:=nedit/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.nedit.org/
COMMENT=	Motif based standard GUI style text editor

PKG_DESTDIR_SUPPORT=	user-destdir

VERS=		5.5
MASTER_SITE_NEDIT=	http://www.nedit.org/ftp/			\
			http://nl.nedit.org/ftp/			\
			ftp://nl.nedit.org/pub/NEdit/			\
			ftp://ftp.fu-berlin.de/unix/editors/nedit/	\
			http://gd.tuwien.ac.at/editors/nedit/NEdit/	\
			ftp://cri.univ-tlse1.fr/pub/unix/nedit/NEdit/	\
			ftp://ftp.chg.ru/pub/unix/editors/nedit/

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
BUILD_TARGET=		netbsd
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/source/nedit ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/source/nc ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/nedit.man \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nedit.1
	${INSTALL_MAN} ${WRKSRC}/doc/nc.man \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nedit-nc.1
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/nedit
.for f in README ReleaseNotes
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/nedit
.endfor
.for f in faq.txt NEdit.ad
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/nedit
.endfor

.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"