svn commit: r328632 - head/editors/nano-devel
Eitan Adler
eadler at FreeBSD.org
Sat Sep 28 23:56:02 UTC 2013
Author: eadler
Date: Sat Sep 28 23:56:01 2013
New Revision: 328632
URL: http://svnweb.freebsd.org/changeset/ports/328632
Log:
- Convert to staging.
Modified:
head/editors/nano-devel/Makefile
head/editors/nano-devel/pkg-plist
Modified: head/editors/nano-devel/Makefile
==============================================================================
--- head/editors/nano-devel/Makefile Sat Sep 28 23:45:19 2013 (r328631)
+++ head/editors/nano-devel/Makefile Sat Sep 28 23:56:01 2013 (r328632)
@@ -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>
Modified: head/editors/nano-devel/pkg-plist
==============================================================================
--- head/editors/nano-devel/pkg-plist Sat Sep 28 23:45:19 2013 (r328631)
+++ head/editors/nano-devel/pkg-plist Sat Sep 28 23:56:01 2013 (r328632)
@@ -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
More information about the svn-ports-head
mailing list