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/Makefile | |
parent | 060b0d550f2f03bf96440fbf5d7b09056f5367c3 (diff) | |
download | pkgsrc-f39d8488cf4a315bfc3a9b1d16eb55e46e4b230a.tar.gz |
Install a sample config file by default.
Bump PKGREVISION.
Diffstat (limited to 'editors/nano/Makefile')
-rw-r--r-- | editors/nano/Makefile | 10 |
1 files changed, 8 insertions, 2 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" |