aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-10-05 07:07:39 +0800
committernaddy <naddy@FreeBSD.org>2003-10-05 07:07:39 +0800
commit029d7bdd5364acb001b3a063af698aae61bbcf25 (patch)
tree68dda343cdb9c25414f329d464d2f65dbc36168c /editors
parent119ab77770c6a8b9f11e17726386e7622590793d (diff)
downloadfreebsd-ports-gnome-029d7bdd5364acb001b3a063af698aae61bbcf25.tar.gz
freebsd-ports-gnome-029d7bdd5364acb001b3a063af698aae61bbcf25.tar.zst
freebsd-ports-gnome-029d7bdd5364acb001b3a063af698aae61bbcf25.zip
Install nanorc.sample.
Requested by: Adam McLaurin <adam.mclaurin@gmx.net>
Diffstat (limited to 'editors')
-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