1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 1.0

PR:		119501
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Martin Wilke 2008-01-10 23:19:37 +00:00
parent 3edc34b675
commit 2800d27348
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205432
12 changed files with 32 additions and 102 deletions

View File

@ -7,27 +7,25 @@
#
PORTNAME= open-cobol
PORTVERSION= 0.32
PORTREVISION= 2
PORTVERSION= 1.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
USE_GETOPT_LONG=yes
USE_AUTOTOOLS= libltdl:15 libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GNOME= gnometarget
USE_BDB= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
INFO= open-cobol
CPPFLAGS= -I${LOCALBASE}/include
CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
@ -39,12 +37,8 @@ PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|__gmp_rand|__gmpz_init|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^SUBDIRS = lib |SUBDIRS = |g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \
${WRKSRC}/cobc/Makefile.in
@${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

View File

@ -1,3 +1,3 @@
MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635
SHA256 (open-cobol-0.32.tar.gz) = ede55ad33a5d8776c994a668b77716f0fddba23011263a07073ffff0c0c38fc9
SIZE (open-cobol-0.32.tar.gz) = 768635
MD5 (open-cobol-1.0.tar.gz) = 947e0d9c4ee7fa8f077ea4bca2f894e5
SHA256 (open-cobol-1.0.tar.gz) = 15a36e4823b09938b25e947dcd0fad1b7b1ba2978591bb220a18c2bed32daf06
SIZE (open-cobol-1.0.tar.gz) = 934641

View File

@ -1,11 +0,0 @@
--- cobc/cobc.c.orig Thu Jun 5 09:02:15 2003
+++ cobc/cobc.c Sun Apr 4 00:32:21 2004
@@ -36,7 +36,7 @@
#include "cobc.h"
#include "tree.h"
-#include "lib/getopt.h"
+#include <getopt.h>
/*

View File

@ -1,10 +0,0 @@
--- libcob/screenio.c.orig Fri Mar 12 13:41:58 2004
+++ libcob/screenio.c Wed Nov 24 02:43:30 2004
@@ -19,6 +19,7 @@
#include "config.h"
+#include <stdio.h>
#include <string.h>
#if HAVE_NCURSES_H

View File

@ -1,11 +0,0 @@
--- tests/atlocal.in.orig Tue May 3 11:31:14 2005
+++ tests/atlocal.in Sat May 14 18:24:52 2005
@@ -10,7 +10,7 @@
COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}"
COMPILE_MODULE="${COBC} -m ${FLAGS}"
-export COB_CFLAGS="-I${abs_top_srcdir}"
+export COB_CFLAGS="-I${abs_top_srcdir} -I@prefix@/include"
export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob @LIBCOB_LIBS@"
export COB_CONFIG_DIR="${abs_top_srcdir}/config"
export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs"

View File

@ -4,26 +4,29 @@ 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/libcob.a
lib/libcob.la
lib/libcob.so
lib/libcob.so.1
%%NLS%%share/locale/ja/LC_MESSAGES/open-cobol.mo
%%DATADIR%%/config/bs2000.conf
%%DATADIR%%/config/cobol2002.conf
%%DATADIR%%/config/cobol85.conf
%%DATADIR%%/config/default.conf
%%DATADIR%%/config/ibm.conf
%%DATADIR%%/config/mf.conf
%%DATADIR%%/config/mvs.conf
%%DATADIR%%/config/v023.conf
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
@dirrm include/libcob

View File

@ -7,27 +7,25 @@
#
PORTNAME= open-cobol
PORTVERSION= 0.32
PORTREVISION= 2
PORTVERSION= 1.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
USE_GETOPT_LONG=yes
USE_AUTOTOOLS= libltdl:15 libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GNOME= gnometarget
USE_BDB= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
INFO= open-cobol
CPPFLAGS= -I${LOCALBASE}/include
CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
@ -39,12 +37,8 @@ PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|__gmp_rand|__gmpz_init|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^SUBDIRS = lib |SUBDIRS = |g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \
${WRKSRC}/cobc/Makefile.in
@${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

View File

@ -1,3 +1,3 @@
MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635
SHA256 (open-cobol-0.32.tar.gz) = ede55ad33a5d8776c994a668b77716f0fddba23011263a07073ffff0c0c38fc9
SIZE (open-cobol-0.32.tar.gz) = 768635
MD5 (open-cobol-1.0.tar.gz) = 947e0d9c4ee7fa8f077ea4bca2f894e5
SHA256 (open-cobol-1.0.tar.gz) = 15a36e4823b09938b25e947dcd0fad1b7b1ba2978591bb220a18c2bed32daf06
SIZE (open-cobol-1.0.tar.gz) = 934641

View File

@ -1,11 +0,0 @@
--- cobc/cobc.c.orig Thu Jun 5 09:02:15 2003
+++ cobc/cobc.c Sun Apr 4 00:32:21 2004
@@ -36,7 +36,7 @@
#include "cobc.h"
#include "tree.h"
-#include "lib/getopt.h"
+#include <getopt.h>
/*

View File

@ -1,10 +0,0 @@
--- libcob/screenio.c.orig Fri Mar 12 13:41:58 2004
+++ libcob/screenio.c Wed Nov 24 02:43:30 2004
@@ -19,6 +19,7 @@
#include "config.h"
+#include <stdio.h>
#include <string.h>
#if HAVE_NCURSES_H

View File

@ -1,11 +0,0 @@
--- tests/atlocal.in.orig Tue May 3 11:31:14 2005
+++ tests/atlocal.in Sat May 14 18:24:52 2005
@@ -10,7 +10,7 @@
COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}"
COMPILE_MODULE="${COBC} -m ${FLAGS}"
-export COB_CFLAGS="-I${abs_top_srcdir}"
+export COB_CFLAGS="-I${abs_top_srcdir} -I@prefix@/include"
export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob @LIBCOB_LIBS@"
export COB_CONFIG_DIR="${abs_top_srcdir}/config"
export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs"

View File

@ -4,26 +4,29 @@ 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/libcob.a
lib/libcob.la
lib/libcob.so
lib/libcob.so.1
%%NLS%%share/locale/ja/LC_MESSAGES/open-cobol.mo
%%DATADIR%%/config/bs2000.conf
%%DATADIR%%/config/cobol2002.conf
%%DATADIR%%/config/cobol85.conf
%%DATADIR%%/config/default.conf
%%DATADIR%%/config/ibm.conf
%%DATADIR%%/config/mf.conf
%%DATADIR%%/config/mvs.conf
%%DATADIR%%/config/v023.conf
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
@dirrm include/libcob