summaryrefslogtreecommitdiff
path: root/editors/nano/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nano/Makefile')
-rw-r--r--editors/nano/Makefile10
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"