diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2007-04-09 16:10:14 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2007-04-09 16:10:14 +0000 |
commit | eea81c262a9110dc6d5738eddfcfe0a7543800bf (patch) | |
tree | 22f21f45e3ad2188cf52f66371577b9194fc988c | |
parent | Add rc script. Note that IWBN to have tits keep a pidfile. (diff) |
* Update to 2.0.4. Changes in this release:
- Support additional keys on some terminals.
- Minor documentation updates.
* Enable UTF-8 support if ncursesw is available in the base system.
Notes
Notes:
svn path=/head/; revision=189573
-rw-r--r-- | editors/nano/Makefile | 14 | ||||
-rw-r--r-- | editors/nano/distinfo | 6 |
2 files changed, 14 insertions, 6 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index cdacae2d538e..65f1ead0ec05 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nano -PORTVERSION= 2.0.3 +PORTVERSION= 2.0.4 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v2.0/ \ http://www.ewtoo.org/~astyanax/nano/dist/v2.0/ @@ -17,7 +17,6 @@ COMMENT= Nano's ANOther editor, an enhanced free Pico clone GNU_CONFIGURE= yes CONFIGURE_ARGS= --infodir=${PREFIX}/${INFO_PATH} --mandir=${PREFIX}/man \ --enable-all -CONFIGURE_ARGS+=--disable-utf8 # requires wide character curses CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -35,6 +34,15 @@ MAN1= nano.1 rnano.1 MAN5= nanorc.5 MANLANG= "" fr +.include <bsd.port.pre.mk> + +# requires wide character curses +.if (${OSVERSION} < 602107) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033) +CONFIGURE_ARGS+=--disable-utf8 +.else +CONFIGURE_ARGS+=--enable-utf8 +.endif + post-build: cd ${WRKSRC}/doc/man; ${REINPLACE_CMD} \ -e 's:SYSCONFDIR:${PREFIX}/etc:g' \ @@ -47,4 +55,4 @@ post-install: ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/nanorc.sample ${EXAMPLESDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/editors/nano/distinfo b/editors/nano/distinfo index 9d05349e9621..c23cc6ddc4dc 100644 --- a/editors/nano/distinfo +++ b/editors/nano/distinfo @@ -1,3 +1,3 @@ -MD5 (nano-2.0.3.tar.gz) = b8e2c1450b36d21f9a82509da3e4d9b1 -SHA256 (nano-2.0.3.tar.gz) = 8c29569d0e1eb29cbd3580313b9796c4e6fd0830071ec885021f22be635f5297 -SIZE (nano-2.0.3.tar.gz) = 1313437 +MD5 (nano-2.0.4.tar.gz) = 8118d8521e121a37d05f5647d2784fa8 +SHA256 (nano-2.0.4.tar.gz) = cf6e52b4e061c4cbf848f2247fe0aa76b795e958e621fb96da8b0c5a2c4ac001 +SIZE (nano-2.0.4.tar.gz) = 1313903 |