2000-10-26 17:36:48 +02:00
|
|
|
# New ports collection makefile for: tinycobol
|
|
|
|
# Date created: 26 Oct 2000
|
|
|
|
# Whom: Patrick Gardella <patrick@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tinycobol
|
2004-05-30 01:14:29 +02:00
|
|
|
PORTVERSION= 0.61
|
2000-10-26 17:36:48 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= tiny-cobol
|
|
|
|
|
2004-06-03 00:17:13 +02:00
|
|
|
MAINTAINER= ports@freebsd.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tiny COBOL compiler for IA32 platforms
|
2000-10-26 17:36:48 +02:00
|
|
|
|
2003-07-14 04:53:03 +02:00
|
|
|
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2
|
2000-10-26 17:36:48 +02:00
|
|
|
|
2004-05-30 01:14:29 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-07-14 04:53:03 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
2000-10-26 17:36:48 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2002-01-29 19:23:06 +01:00
|
|
|
USE_BISON= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_GMAKE= yes
|
2000-10-26 17:36:48 +02:00
|
|
|
|
2004-05-30 01:14:29 +02:00
|
|
|
CONFIGURE_ARGS= --with-libdb=2
|
|
|
|
# --with-readline disabled because of CPP-clash between readline/chardefs.h
|
|
|
|
# and htcobol.tab.h:PAGE/RETURN/ALPHABETIC
|
|
|
|
#CONFIGURE_ARGS+= --with-readline
|
2003-07-14 04:53:03 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
2004-05-30 01:14:29 +02:00
|
|
|
CFLAGS= ${CPPFGLAGS}
|
2003-07-14 04:53:03 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2004-05-30 01:14:29 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2000-10-26 17:36:48 +02:00
|
|
|
|
2003-07-14 04:53:03 +02:00
|
|
|
MAN1= htcobol.1 htcobf2f.1 htcobolpp.1
|
2002-09-28 23:00:00 +02:00
|
|
|
|
2000-10-26 17:36:48 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-05-30 01:14:29 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${DOCSDIR}
|
2000-10-26 17:36:48 +02:00
|
|
|
.endif
|
|
|
|
|
2004-05-30 01:14:29 +02:00
|
|
|
.include <bsd.port.mk>
|