svn commit: r353174 - in head: . lang lang/gnu-cobol lang/open-cobol

Johan van Selst johans at FreeBSD.org
Wed May 7 16:13:12 UTC 2014


Author: johans
Date: Wed May  7 16:13:10 2014
New Revision: 353174
URL: http://svnweb.freebsd.org/changeset/ports/353174
QAT: https://qat.redports.org/buildarchive/r353174/

Log:
  - Move lang/open-cobol to lang/gnu-cobol to reflect project changes
  - Adopt port

Added:
  head/lang/gnu-cobol/
     - copied from r353171, head/lang/open-cobol/
Deleted:
  head/lang/open-cobol/
Modified:
  head/MOVED
  head/UPDATING
  head/lang/Makefile
  head/lang/gnu-cobol/Makefile
  head/lang/gnu-cobol/distinfo
  head/lang/gnu-cobol/pkg-descr
  head/lang/gnu-cobol/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed May  7 16:11:59 2014	(r353173)
+++ head/MOVED	Wed May  7 16:13:10 2014	(r353174)
@@ -6092,3 +6092,4 @@ games/gnome-games-extra-data||2014-05-05
 audio/libshout2|audio/libshout|2014-05-05|Use audio/libshout instead
 devel/bsdlibdwarf||2014-05-06|Has expired: Outdated, included in all supported versions of FreeBSD
 security/yassl|security/cyassl|2014-05-06|Moved to match upstream name
+lang/open-cobol|lang/gnu-cobol|2014-05-07|Moved to match upstream name change

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed May  7 16:11:59 2014	(r353173)
+++ head/UPDATING	Wed May  7 16:13:10 2014	(r353174)
@@ -5,6 +5,19 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20140507:
+  AFFECTS: users of lang/open-cobol
+  AUTHOR: johans at FreeBSD.org
+
+  lang/open-cobol was moved to lang/gnu-cobol to match the new package
+  name. Please do the following according to package manager used.
+
+  # portmaster -o lang/gnu-cobol lang/open-cobol
+    or
+  # portupgrade -fo lang/gnu-cobol lang/open-cobol
+    or
+  # pkg set -o lang/open-cobol:lang/gnu-cobol
+
 20140506:
   AFFECTS: users of ports-mgmt/portshaker
   AUTHOR: romain at FreeBSD.org

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Wed May  7 16:11:59 2014	(r353173)
+++ head/lang/Makefile	Wed May  7 16:13:10 2014	(r353174)
@@ -99,6 +99,7 @@
     SUBDIR += gnatdroid-armv7
     SUBDIR += gnatdroid-binutils
     SUBDIR += gnatdroid-sysroot
+    SUBDIR += gnu-cobol
     SUBDIR += gnustep-base
     SUBDIR += gnustep-guile
     SUBDIR += go
@@ -192,7 +193,6 @@
     SUBDIR += onyx
     SUBDIR += oo2c
     SUBDIR += oorexx
-    SUBDIR += open-cobol
     SUBDIR += opendylan
     SUBDIR += otcl
     SUBDIR += p2c

Modified: head/lang/gnu-cobol/Makefile
==============================================================================
--- head/lang/open-cobol/Makefile	Wed May  7 15:56:04 2014	(r353171)
+++ head/lang/gnu-cobol/Makefile	Wed May  7 16:13:10 2014	(r353174)
@@ -1,45 +1,33 @@
 # Created by: ijliao
 # $FreeBSD$
 
-PORTNAME=	open-cobol
+PORTNAME=	gnu-cobol
 PORTVERSION=	1.1
 CATEGORIES=	lang
-MASTER_SITES=	SF
+MASTER_SITES=	GNU/gnucobol
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	An open-source COBOL compiler
+MAINTAINER=	johans at FreeBSD.org
+COMMENT=	Open-source COBOL compiler
 
-LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
 
 USE_BDB=	yes
-USES=		gmake
-USE_AUTOTOOLS=	libtool
+USES=		gmake libtool
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 
-INFO=		open-cobol
+INFO=		gnu-cobol
 
 CPPFLAGS+=	-I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include  <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+CONFIGURE_ENABLE=nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|__gmp_randinit|__gmpz_init|g ; \
 		 s|db-4.[0-9]|${BDB_LIB_NAME}|g' ${WRKSRC}/configure
 
-.if defined(MAINTAINER_MODE)
-test:	build
-	(cd ${WRKSRC}/tests;	\
-	./syntax;		\
-	./run)
-.endif
-
 .include <bsd.port.mk>

Modified: head/lang/gnu-cobol/distinfo
==============================================================================
--- head/lang/open-cobol/distinfo	Wed May  7 15:56:04 2014	(r353171)
+++ head/lang/gnu-cobol/distinfo	Wed May  7 16:13:10 2014	(r353174)
@@ -1,2 +1,2 @@
-SHA256 (open-cobol-1.1.tar.gz) = 6ae7c02eb8622c4ad55097990e9b1688a151254407943f246631d02655aec320
-SIZE (open-cobol-1.1.tar.gz) = 1007791
+SHA256 (gnu-cobol-1.1.tar.gz) = bd319c0d001e85835c8501ad74c9de0052fe82b8a38b4530f41b49b2af028b9d
+SIZE (gnu-cobol-1.1.tar.gz) = 1093343

Modified: head/lang/gnu-cobol/pkg-descr
==============================================================================
--- head/lang/open-cobol/pkg-descr	Wed May  7 15:56:04 2014	(r353171)
+++ head/lang/gnu-cobol/pkg-descr	Wed May  7 16:13:10 2014	(r353174)
@@ -1,4 +1,4 @@
-OpenCOBOL is an open-source COBOL compiler, which translates COBOL programs
-to C code and compiles it using GCC.
+GNU COBOL, formerly known as Open-COBOL, is an open-source COBOL compiler,
+which translates COBOL programs to C code and compiles it using GCC.
 
-WWW: http://www.opencobol.org/
+WWW: http://savannah.gnu.org/projects/gnucobol

Modified: head/lang/gnu-cobol/pkg-plist
==============================================================================
--- head/lang/open-cobol/pkg-plist	Wed May  7 15:56:04 2014	(r353171)
+++ head/lang/gnu-cobol/pkg-plist	Wed May  7 16:13:10 2014	(r353174)
@@ -2,24 +2,15 @@ bin/cob-config
 bin/cobc
 bin/cobcrun
 include/libcob.h
-include/libcob/byteswap.h
-include/libcob/call.h
 include/libcob/codegen.h
 include/libcob/common.h
 include/libcob/exception.def
-include/libcob/fileio.h
-include/libcob/intrinsic.h
-include/libcob/move.h
-include/libcob/numeric.h
-include/libcob/screenio.h
-include/libcob/strings.h
 include/libcob/system.def
-include/libcob/termio.h
+lib/gnu-cobol/CBL_OC_DUMP.so
 lib/libcob.a
-lib/libcob.la
 lib/libcob.so
 lib/libcob.so.1
-%%NLS%%share/locale/ja/LC_MESSAGES/open-cobol.mo
+lib/libcob.so.1.0.0
 %%DATADIR%%/config/bs2000.conf
 %%DATADIR%%/config/cobol2002.conf
 %%DATADIR%%/config/cobol85.conf
@@ -28,7 +19,11 @@ lib/libcob.so.1
 %%DATADIR%%/config/mf.conf
 %%DATADIR%%/config/mvs.conf
 %%DATADIR%%/copy/screenio.cpy
- at dirrm %%DATADIR%%/copy
+%%NLS%%share/locale/en at boldquot/LC_MESSAGES/gnu-cobol.mo
+%%NLS%%share/locale/en at quot/LC_MESSAGES/gnu-cobol.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gnu-cobol.mo
+ at dirrm include/libcob
+ at dirrm lib/gnu-cobol
 @dirrm %%DATADIR%%/config
+ at dirrm %%DATADIR%%/copy
 @dirrm %%DATADIR%%
- at dirrm include/libcob


More information about the svn-ports-all mailing list