pkgsrc/editors/ne/Makefile
jlam 80c7fb273d Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 18:25:52 +00:00

30 lines
897 B
Makefile

# $NetBSD: Makefile,v 1.12 2008/03/03 18:25:53 jlam Exp $
DISTNAME= ne-1.31
CATEGORIES= editors
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/NE/
DISTFILES= ${DISTNAME}.tar.gz ne.manpage.1 NE.spec.ascii NE.changes.spec
MAINTAINER= bjh@mail.dotcom.fr
COMMENT= Re-write of Phoenix E. A sensible light-weight editor
PKG_DESTDIR_SUPPORT= user-destdir
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/src
EXTRACT_ONLY= ${DISTNAME}.tar.gz
BUILD_TARGET= NetBSD ne
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nenewp ${DESTDIR}${PREFIX}/bin/ne
${INSTALL_MAN} ${_DISTDIR}/ne.manpage.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ne.1
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ne
${INSTALL_DATA} ${_DISTDIR}/NE.spec.ascii ${_DISTDIR}/NE.changes.spec \
${WRKSRC}/LICENCE ${DESTDIR}${PREFIX}/share/doc/ne
.include "../../mk/bsd.pkg.mk"