diff options
author | joerg <joerg> | 2006-11-06 11:08:37 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-11-06 11:08:37 +0000 |
commit | daffbe61e4645cbde628cf375d987430759aed85 (patch) | |
tree | 318906d992c10ebb7b8ae7f0816ecb4a14ba31af | |
parent | 6e04e41676378c4c6c183741b94fd3e90866bbfb (diff) | |
download | pkgsrc-daffbe61e4645cbde628cf375d987430759aed85.tar.gz |
DESTDIR support and switch to modular buildlinks.
-rw-r--r-- | editors/nedit/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile index ecc2a9a8c45..2ddad2af5a1 100644 --- a/editors/nedit/Makefile +++ b/editors/nedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2006/03/04 21:29:32 jlam Exp $ +# $NetBSD: Makefile,v 1.46 2006/11/06 11:08:37 joerg Exp $ DISTNAME= nedit-${VERS}-src PKGNAME= nedit-${VERS} @@ -14,6 +14,8 @@ 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 WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} @@ -21,16 +23,16 @@ BUILD_TARGET= netbsd INSTALLATION_DIRS= bin man/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/source/nedit ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/source/nc ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/nedit.man ${PREFIX}/man/man1/nedit.1 - ${INSTALL_MAN} ${WRKSRC}/doc/nc.man ${PREFIX}/man/man1/nedit-nc.1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nedit - ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/nedit - ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${PREFIX}/share/doc/nedit - ${INSTALL_DATA} ${WRKSRC}/doc/NEdit.ad ${PREFIX}/share/doc/nedit + ${INSTALL_PROGRAM} ${WRKSRC}/source/nedit ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/source/nc ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/nedit.man ${DESTDIR}${PREFIX}/man/man1/nedit.1 + ${INSTALL_MAN} ${WRKSRC}/doc/nc.man ${DESTDIR}${PREFIX}/man/man1/nedit-nc.1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/nedit + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nedit + ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DESTDIR}${PREFIX}/share/doc/nedit + ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DESTDIR}${PREFIX}/share/doc/nedit + ${INSTALL_DATA} ${WRKSRC}/doc/NEdit.ad ${DESTDIR}${PREFIX}/share/doc/nedit -.include "../../graphics/xpm/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" .include "../../mk/motif.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |