aboutsummaryrefslogtreecommitdiff
path: root/editors/nano-devel
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-09-28 23:56:01 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-09-28 23:56:01 +0000
commit40d4dd3100a924ab2caddd958b97689a9ff17ff2 (patch)
treebff5dee2f2e936214cecf2816f38a226651dac42 /editors/nano-devel
parent74229775b973bf0c33bd9436f5b0a746eeb37969 (diff)
downloadports-40d4dd3100a924ab2caddd958b97689a9ff17ff2.tar.gz
ports-40d4dd3100a924ab2caddd958b97689a9ff17ff2.zip
Notes
Diffstat (limited to 'editors/nano-devel')
-rw-r--r--editors/nano-devel/Makefile10
-rw-r--r--editors/nano-devel/pkg-plist6
2 files changed, 9 insertions, 7 deletions
diff --git a/editors/nano-devel/Makefile b/editors/nano-devel/Makefile
index b2c13437399f..1d9cf8326c91 100644
--- a/editors/nano-devel/Makefile
+++ b/editors/nano-devel/Makefile
@@ -20,13 +20,11 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
-MANLANG= "" fr
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@@ -39,8 +37,6 @@ MAKE_ARGS+= install_htmlmanDATA=""
.endif
INFO= nano
-MAN1= nano.1 rnano.1
-MAN5= nanorc.5
PORTSCOUT= limitw:1,odd
@@ -52,12 +48,12 @@ post-build:
cd ${WRKSRC}/doc/man; ${REINPLACE_CMD} \
-e 's:SYSCONFDIR:${PREFIX}/etc:g' \
-e 's:EXAMPLESDIR:${EXAMPLESDIR}:g' \
- ${MAN1} ${MAN5} ${WRKSRC}/doc/texinfo/${INFO:=.info}
+ nano.1 rnano.1 nanorc.5 ${WRKSRC}/doc/texinfo/${INFO:=.info}
${REINPLACE_CMD} -e 's/\\</[[:<:]]/g' -e 's/\\>/[[:>:]]/g' \
${WRKSRC}/doc/syntax/*.nanorc
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/nanorc.sample ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/nanorc.sample ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.post.mk>
diff --git a/editors/nano-devel/pkg-plist b/editors/nano-devel/pkg-plist
index e702e8e73e80..32daeb2258e2 100644
--- a/editors/nano-devel/pkg-plist
+++ b/editors/nano-devel/pkg-plist
@@ -1,6 +1,12 @@
@comment $FreeBSD: head/editors/nano/pkg-plist 315129 2013-03-24 15:50:36Z eadler $
bin/nano
bin/rnano
+man/man1/nano.1.gz
+man/man1/rnano.1.gz
+man/man5/nanorc.5.gz
+%%NLS%%man/fr/man1/nano.1.gz
+%%NLS%%man/fr/man1/rnano.1.gz
+%%NLS%%man/fr/man5/nanorc.5.gz
%%NLS%%share/locale/bg/LC_MESSAGES/nano.mo
%%NLS%%share/locale/ca/LC_MESSAGES/nano.mo
%%NLS%%share/locale/cs/LC_MESSAGES/nano.mo