pkgsrc/editors/nedit/Makefile
rillig a20d25368e editors/*: let pkglint fix indentation and variable alignment
pkglint -Wall -F -r editors

Manually fixed the changes in editors/nedit since the "fixed" indentation
was wrong.
2019-06-08 10:40:52 +00:00

48 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.60 2019/06/08 10:40:56 rillig Exp $
DISTNAME= nedit-${VERS}-src
PKGNAME= nedit-${VERS}
PKGREVISION= 9
CATEGORIES= editors
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"