[Midnightbsd-cvs] mports: lang/open-cobol: Update to 1.0
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jul 20 00:56:21 EDT 2008
Log Message:
-----------
Update to 1.0
Modified Files:
--------------
mports/lang/open-cobol:
Makefile (r1.1 -> r1.2)
distinfo (r1.1 -> r1.2)
pkg-plist (r1.1 -> r1.2)
Removed Files:
-------------
mports/lang/open-cobol/files:
patch-cobc::cobc.c
patch-libcob::screenio.c
patch-tests_atlocal.in
-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/lang/open-cobol/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L lang/open-cobol/pkg-plist -L lang/open-cobol/pkg-plist -u -r1.1 -r1.2
--- lang/open-cobol/pkg-plist
+++ lang/open-cobol/pkg-plist
@@ -4,26 +4,29 @@
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
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/open-cobol/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L lang/open-cobol/Makefile -L lang/open-cobol/Makefile -u -r1.1 -r1.2
--- lang/open-cobol/Makefile
+++ lang/open-cobol/Makefile
@@ -8,19 +8,19 @@
#
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 at MidnightBSD.org
COMMENT= An open-source COBOL compiler
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
-USE_GETOPT_LONG=yes
-USE_AUTOTOOLS= libltdl:15 libtool:15
+USE_GNOME= gnometarget
+USE_BDB= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -28,7 +28,7 @@
INFO= open-cobol
-CPPFLAGS= -I${LOCALBASE}/include
+CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
@@ -40,18 +40,7 @@
.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
-
-.if defined(MAINTAINER_MODE)
-test: build
- (cd ${WRKSRC}/tests; \
- ./syntax; \
- ./run)
-.endif
+ @${REINPLACE_CMD} -e 's|__gmp_randinit|__gmpz_init|g ; \
+ s|db-4.[0-9]|${BDB_LIB_NAME}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/lang/open-cobol/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L lang/open-cobol/distinfo -L lang/open-cobol/distinfo -u -r1.1 -r1.2
--- lang/open-cobol/distinfo
+++ lang/open-cobol/distinfo
@@ -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
--- lang/open-cobol/files/patch-tests_atlocal.in
+++ /dev/null
@@ -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 at 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"
--- lang/open-cobol/files/patch-libcob::screenio.c
+++ /dev/null
@@ -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
--- lang/open-cobol/files/patch-cobc::cobc.c
+++ /dev/null
@@ -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>
-
-
- /*
More information about the Midnightbsd-cvs
mailing list