summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-06 11:08:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-06 11:08:37 +0000
commit0fc622b35eebfbcec19a8d77f1fa9b0aa33986f8 (patch)
tree318906d992c10ebb7b8ae7f0816ecb4a14ba31af /editors
parent2449ffb220ec6cbbba5f13d1b060c5a5d2ca0bdd (diff)
downloadpkgsrc-0fc622b35eebfbcec19a8d77f1fa9b0aa33986f8.tar.gz
DESTDIR support and switch to modular buildlinks.
Diffstat (limited to 'editors')
-rw-r--r--editors/nedit/Makefile24
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"