Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2016 17:22:48 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412427 - head/devel/p5-Curses
Message-ID:  <201604021722.u32HMmEk070707@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Apr  2 17:22:48 2016
New Revision: 412427
URL: https://svnweb.freebsd.org/changeset/ports/412427

Log:
  Update to 1.34.
  
  Use OPTIONS helpers, and reorganize things so all the OPTIONS stuff is
  in one place. Strip XS module, and sort plist.
  
  No ChangeLog available.

Modified:
  head/devel/p5-Curses/Makefile
  head/devel/p5-Curses/distinfo
  head/devel/p5-Curses/pkg-plist

Modified: head/devel/p5-Curses/Makefile
==============================================================================
--- head/devel/p5-Curses/Makefile	Sat Apr  2 17:13:34 2016	(r412426)
+++ head/devel/p5-Curses/Makefile	Sat Apr  2 17:22:48 2016	(r412427)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	Curses
-PORTVERSION=	1.32
-PORTREVISION=	1
+PORTVERSION=	1.34
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,22 +10,17 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl5 module for terminal screen handling and optimization
 
-OPTIONS_DEFINE=	NCURSESW
-NCURSESW_DESC=	Wide-character-capable support by ncursesw library
-
-USES=		perl5 tar:tgz
+USES=		perl5
 USE_PERL5=	configure
+
 CONFIGURE_ARGS=	PANELS MENUS FORMS
 CONFIGURE_ENV=	CURSES_CFLAGS="-I${WRKSRC}/usr/include/ncurses"
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNCURSESW}
-CONFIGURE_ENV+=	CURSES_LDFLAGS="-L/usr/lib/ -lncursesw" \
-		CURSES_LIBTYPE="ncursesw"
-.else
-CONFIGURE_ENV+=	CURSES_LDFLAGS="-L/usr/lib/ -lncurses"
-.endif
+OPTIONS_DEFINE=	NCURSESW
+NCURSESW_DESC=	Wide-character-capable support by ncursesw library
+NCURSESW_CONFIGURE_ENV=		CURSES_LDFLAGS="-L/usr/lib/ -lncursesw" \
+				CURSES_LIBTYPE="ncursesw"
+NCURSESW_CONFIGURE_ENV_OFF=	CURSES_LDFLAGS="-L/usr/lib/ -lncurses"
 
 pre-configure:
 	@${LN} -sf ${WRKSRC}/hints/c-freebsd.ncurses.h \
@@ -36,4 +30,7 @@ pre-configure:
 	@${LN} -fs /usr/include/${i} ${WRKSRC}/usr/include/ncurses/${i}
 .endfor
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Curses/Curses.so
+
 .include <bsd.port.mk>

Modified: head/devel/p5-Curses/distinfo
==============================================================================
--- head/devel/p5-Curses/distinfo	Sat Apr  2 17:13:34 2016	(r412426)
+++ head/devel/p5-Curses/distinfo	Sat Apr  2 17:22:48 2016	(r412427)
@@ -1,2 +1,2 @@
-SHA256 (Curses-1.32.tgz) = 5dba44fd7964806d9765e6692bc7eb8eb30aeced2740f28b9a4070a5d14ba650
-SIZE (Curses-1.32.tgz) = 134753
+SHA256 (Curses-1.34.tar.gz) = 808e44d5946be265af5ff0b90f3d0802108e7d1b39b0fe68a4a446fe284d322b
+SIZE (Curses-1.34.tar.gz) = 135417

Modified: head/devel/p5-Curses/pkg-plist
==============================================================================
--- head/devel/p5-Curses/pkg-plist	Sat Apr  2 17:13:34 2016	(r412426)
+++ head/devel/p5-Curses/pkg-plist	Sat Apr  2 17:22:48 2016	(r412427)
@@ -1,3 +1,3 @@
-%%PERL5_MAN3%%/Curses.3.gz
 %%SITE_ARCH%%/Curses.pm
 %%SITE_ARCH%%/auto/Curses/Curses.so
+%%PERL5_MAN3%%/Curses.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604021722.u32HMmEk070707>