diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-03-13 14:19:00 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-03-13 14:19:00 +0000 |
commit | f39d8488cf4a315bfc3a9b1d16eb55e46e4b230a (patch) | |
tree | 7b851c2fecd3f0f32fc31c163f3117ae069d6887 /editors/nano | |
parent | 060b0d550f2f03bf96440fbf5d7b09056f5367c3 (diff) | |
download | pkgsrc-f39d8488cf4a315bfc3a9b1d16eb55e46e4b230a.tar.gz |
Install a sample config file by default.
Bump PKGREVISION.
Diffstat (limited to 'editors/nano')
-rw-r--r-- | editors/nano/Makefile | 10 | ||||
-rw-r--r-- | editors/nano/PLIST | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 6129075c27b..10dc67123c6 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.41 2012/03/03 00:13:00 wiz Exp $ +# $NetBSD: Makefile,v 1.42 2012/03/13 14:19:00 fhajny Exp $ DISTNAME= nano-2.2.4 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v2.2/ @@ -33,5 +33,11 @@ CONFIGURE_ARGS+= --enable-extra .include "options.mk" +INSTALLATION_DIRS+= share/examples/nano +CONF_FILES+= share/examples/nano/nanorc ${PKG_SYSCONFDIR}/nanorc + +post-install: + ${INSTALL_DATA} ${WRKSRC}/doc/nanorc.sample ${DESTDIR}${PREFIX}/share/examples/nano/nanorc + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/editors/nano/PLIST b/editors/nano/PLIST index 8fbc00b81d6..1f080bad83a 100644 --- a/editors/nano/PLIST +++ b/editors/nano/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2010/04/18 17:21:34 tez Exp $ +@comment $NetBSD: PLIST,v 1.16 2012/03/13 14:19:00 fhajny Exp $ bin/nano bin/rnano info/nano.info @@ -38,6 +38,7 @@ share/locale/uk/LC_MESSAGES/nano.mo share/locale/vi/LC_MESSAGES/nano.mo share/locale/zh_CN/LC_MESSAGES/nano.mo share/locale/zh_TW/LC_MESSAGES/nano.mo +share/examples/nano/nanorc share/nano/asm.nanorc share/nano/awk.nanorc share/nano/c.nanorc |