[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / nedit

File: [cvs.NetBSD.org] / pkgsrc / editors / nedit / Makefile (download)

Revision 1.59, Sat Apr 21 13:38:05 2018 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.58: +1 -2 lines

*: gd.tuwien.ac.at/ftp.tuwien.ac.at is gone, remove it from various mastersites

# $NetBSD: Makefile,v 1.59 2018/04/21 13:38:05 wiz Exp $

DISTNAME=	nedit-${VERS}-src
PKGNAME=	nedit-${VERS}
PKGREVISION=	9
CATEGORIES=	editors
# @pkglint: MASTER_SITE_NEDIT is defined below
MASTER_SITES=	${MASTER_SITE_NEDIT:=v${VERS:S/./_/g}/}
MASTER_SITES+=	${MASTER_SITE_SOURCEFORGE:=nedit/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.nedit.org/
# Upstream "info@nedit.org" did not reply to a message send on 22 March 2014
# asking about patches for modern compilers.
COMMENT=	Motif based standard GUI style text editor
LICENSE=	gnu-gpl-v2

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/	\
			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 ${PREFIX}/share/doc/nedit

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
.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/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"