diff options
author | eadler <eadler@FreeBSD.org> | 2013-09-29 08:03:14 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-09-29 08:03:14 +0800 |
commit | 5941035d44184ad2aa3cae433f5a34fc7a1a5fca (patch) | |
tree | 767104a4a7cbab2351b69ccb1026d44a6398e045 /editors | |
parent | c0d33cdfe7370de85e869b9d9bde90d852435b1c (diff) | |
download | freebsd-ports-gnome-5941035d44184ad2aa3cae433f5a34fc7a1a5fca.tar.gz freebsd-ports-gnome-5941035d44184ad2aa3cae433f5a34fc7a1a5fca.tar.zst freebsd-ports-gnome-5941035d44184ad2aa3cae433f5a34fc7a1a5fca.zip |
- Convert to staging
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nano/Makefile | 10 | ||||
-rw-r--r-- | editors/nano/pkg-plist | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 76d0ce4e3ab0..e6863c750f81 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -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> diff --git a/editors/nano/pkg-plist b/editors/nano/pkg-plist index 031ee5e8fef3..e5b37b476ce4 100644 --- a/editors/nano/pkg-plist +++ b/editors/nano/pkg-plist @@ -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 |