aboutsummaryrefslogtreecommitdiff
path: root/editors/nano
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-10-04 23:07:39 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-10-04 23:07:39 +0000
commitb59a0333ef055026608cf75e88028b7541825d25 (patch)
treefb970d3a2bd717df3eb50b683b08f24e48d4c063 /editors/nano
parent076fba930f9ad62d3f6f95d251786e64354e64dc (diff)
downloadports-b59a0333ef055026608cf75e88028b7541825d25.tar.gz
ports-b59a0333ef055026608cf75e88028b7541825d25.zip
Install nanorc.sample.
Requested by: Adam McLaurin <adam.mclaurin@gmx.net>
Notes
Notes: svn path=/head/; revision=90268
Diffstat (limited to 'editors/nano')
-rw-r--r--editors/nano/Makefile5
-rw-r--r--editors/nano/pkg-plist1
2 files changed, 6 insertions, 0 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index 2bf6d52ec5c3..2931a0d03565 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nano
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://www.nano-editor.org/dist/v1.2/
@@ -24,6 +25,10 @@ INFO= nano
MAN1= nano.1
MAN5= nanorc.5
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/nanorc.sample ${EXAMPLESDIR}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
diff --git a/editors/nano/pkg-plist b/editors/nano/pkg-plist
index 359a57bd85c5..54413b72d37a 100644
--- a/editors/nano/pkg-plist
+++ b/editors/nano/pkg-plist
@@ -23,3 +23,4 @@ share/locale/ru/LC_MESSAGES/nano.mo
share/locale/sv/LC_MESSAGES/nano.mo
share/locale/tr/LC_MESSAGES/nano.mo
share/locale/uk/LC_MESSAGES/nano.mo
+%%EXAMPLESDIR%%/nanorc.sample