1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Move lang/open-cobol to lang/gnu-cobol to reflect project changes

- Adopt port
This commit is contained in:
Johan van Selst 2014-05-07 16:13:10 +00:00
parent a2b13dc61a
commit b79f8d8602
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353174
10 changed files with 63 additions and 66 deletions

1
MOVED
View File

@ -6092,3 +6092,4 @@ games/gnome-games-extra-data||2014-05-05|Not used in GNOME 3.
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

View File

@ -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@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@FreeBSD.org

View File

@ -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

33
lang/gnu-cobol/Makefile Normal file
View File

@ -0,0 +1,33 @@
# Created by: ijliao
# $FreeBSD$
PORTNAME= gnu-cobol
PORTVERSION= 1.1
CATEGORIES= lang
MASTER_SITES= GNU/gnucobol
MAINTAINER= johans@FreeBSD.org
COMMENT= Open-source COBOL compiler
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
USE_BDB= yes
USES= gmake libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INFO= gnu-cobol
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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
.include <bsd.port.mk>

2
lang/gnu-cobol/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (gnu-cobol-1.1.tar.gz) = bd319c0d001e85835c8501ad74c9de0052fe82b8a38b4530f41b49b2af028b9d
SIZE (gnu-cobol-1.1.tar.gz) = 1093343

4
lang/gnu-cobol/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
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://savannah.gnu.org/projects/gnucobol

View File

@ -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
@dirrm %%DATADIR%%/copy
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/gnu-cobol.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/gnu-cobol.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gnu-cobol.mo
@dirrm include/libcob
@dirrm lib/gnu-cobol
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%/copy
@dirrm %%DATADIR%%

View File

@ -1,45 +0,0 @@
# Created by: ijliao
# $FreeBSD$
PORTNAME= open-cobol
PORTVERSION= 1.1
CATEGORIES= lang
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
USE_BDB= yes
USES= gmake
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
INFO= open-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
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>

View File

@ -1,2 +0,0 @@
SHA256 (open-cobol-1.1.tar.gz) = 6ae7c02eb8622c4ad55097990e9b1688a151254407943f246631d02655aec320
SIZE (open-cobol-1.1.tar.gz) = 1007791

View File

@ -1,4 +0,0 @@
OpenCOBOL is an open-source COBOL compiler, which translates COBOL programs
to C code and compiles it using GCC.
WWW: http://www.opencobol.org/