svn commit: r328634 - head/editors/nano
Eitan Adler
eadler at FreeBSD.org
Sun Sep 29 00:03:15 UTC 2013
Author: eadler
Date: Sun Sep 29 00:03:14 2013
New Revision: 328634
URL: http://svnweb.freebsd.org/changeset/ports/328634
Log:
- Convert to staging
Modified:
head/editors/nano/Makefile
head/editors/nano/pkg-plist
Modified: head/editors/nano/Makefile
==============================================================================
--- head/editors/nano/Makefile Sun Sep 29 00:02:58 2013 (r328633)
+++ head/editors/nano/Makefile Sun Sep 29 00:03:14 2013 (r328634)
@@ -21,13 +21,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 "
@@ -40,8 +38,6 @@ MAKE_ARGS+= install_htmlmanDATA=""
.endif
INFO= nano
-MAN1= nano.1 rnano.1
-MAN5= nanorc.5
PORTSCOUT= limitw:1,even
@@ -53,12 +49,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/pkg-plist
==============================================================================
--- head/editors/nano/pkg-plist Sun Sep 29 00:02:58 2013 (r328633)
+++ head/editors/nano/pkg-plist Sun Sep 29 00:03:14 2013 (r328634)
@@ -1,6 +1,12 @@
@comment $FreeBSD$
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%%%%PORTDOCS%%%%DOCSDIR%%/fr/nano.1.html
%%NLS%%%%PORTDOCS%%%%DOCSDIR%%/fr/nanorc.5.html
%%NLS%%%%PORTDOCS%%%%DOCSDIR%%/fr/rnano.1.html
More information about the svn-ports-head
mailing list