aboutsummaryrefslogtreecommitdiffstats
path: root/editors/nano
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-02 03:12:55 +0800
committereadler <eadler@FreeBSD.org>2013-03-02 03:12:55 +0800
commitbc751f077710caedef93bbb53ce75fcf7df2e8fb (patch)
treec42cab907a8a72fed6934be509942f05b83b749c /editors/nano
parentc3a6aa0449a19f74cb30a5c701a43c5dc9613ad4 (diff)
downloadfreebsd-ports-gnome-bc751f077710caedef93bbb53ce75fcf7df2e8fb.tar.gz
freebsd-ports-gnome-bc751f077710caedef93bbb53ce75fcf7df2e8fb.tar.zst
freebsd-ports-gnome-bc751f077710caedef93bbb53ce75fcf7df2e8fb.zip
- Pet portlint
- Move LICENSE to appropriate place - Teach portscout that only even versions count
Diffstat (limited to 'editors/nano')
-rw-r--r--editors/nano/Makefile6
-rw-r--r--editors/nano/pkg-plist56
2 files changed, 32 insertions, 30 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index ccf322669af1..24e6ee7628e2 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -11,14 +11,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= eadler@FreeBSD.org
COMMENT= Nano's ANOther editor, an enhanced free Pico clone
+LICENSE= GPLv3
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
-LICENSE= GPLv3
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -40,6 +40,8 @@ INFO= nano
MAN1= nano.1 rnano.1
MAN5= nanorc.5
+PORTSCOUT= limitw:1,even
+
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--enable-utf8
diff --git a/editors/nano/pkg-plist b/editors/nano/pkg-plist
index 6bb80851db76..031ee5e8fef3 100644
--- a/editors/nano/pkg-plist
+++ b/editors/nano/pkg-plist
@@ -38,34 +38,34 @@ bin/rnano
%%NLS%%share/locale/zh_CN/LC_MESSAGES/nano.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/nano.mo
%%EXAMPLESDIR%%/nanorc.sample
-share/nano/asm.nanorc
-share/nano/awk.nanorc
-share/nano/c.nanorc
-share/nano/cmake.nanorc
-share/nano/css.nanorc
-share/nano/debian.nanorc
-share/nano/fortran.nanorc
-share/nano/gentoo.nanorc
-share/nano/groff.nanorc
-share/nano/html.nanorc
-share/nano/java.nanorc
-share/nano/makefile.nanorc
-share/nano/man.nanorc
-share/nano/mgp.nanorc
-share/nano/mutt.nanorc
-share/nano/nanorc.nanorc
-share/nano/objc.nanorc
-share/nano/ocaml.nanorc
-share/nano/patch.nanorc
-share/nano/perl.nanorc
-share/nano/php.nanorc
-share/nano/pov.nanorc
-share/nano/python.nanorc
-share/nano/ruby.nanorc
-share/nano/sh.nanorc
-share/nano/tcl.nanorc
-share/nano/tex.nanorc
-share/nano/xml.nanorc
+%%DATADIR%%/asm.nanorc
+%%DATADIR%%/awk.nanorc
+%%DATADIR%%/c.nanorc
+%%DATADIR%%/cmake.nanorc
+%%DATADIR%%/css.nanorc
+%%DATADIR%%/debian.nanorc
+%%DATADIR%%/fortran.nanorc
+%%DATADIR%%/gentoo.nanorc
+%%DATADIR%%/groff.nanorc
+%%DATADIR%%/html.nanorc
+%%DATADIR%%/java.nanorc
+%%DATADIR%%/makefile.nanorc
+%%DATADIR%%/man.nanorc
+%%DATADIR%%/mgp.nanorc
+%%DATADIR%%/mutt.nanorc
+%%DATADIR%%/nanorc.nanorc
+%%DATADIR%%/objc.nanorc
+%%DATADIR%%/ocaml.nanorc
+%%DATADIR%%/patch.nanorc
+%%DATADIR%%/perl.nanorc
+%%DATADIR%%/php.nanorc
+%%DATADIR%%/pov.nanorc
+%%DATADIR%%/python.nanorc
+%%DATADIR%%/ruby.nanorc
+%%DATADIR%%/sh.nanorc
+%%DATADIR%%/tcl.nanorc
+%%DATADIR%%/tex.nanorc
+%%DATADIR%%/xml.nanorc
@dirrm share/nano
@dirrm %%EXAMPLESDIR%%
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES