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
|
2002-02-26 01:55:30 +01:00
|
|
|
PORTVERSION= 0.57
|
2000-10-26 17:36:48 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= tiny-cobol
|
|
|
|
|
|
|
|
MAINTAINER= patrick@freebsd.org
|
|
|
|
|
2002-05-18 04:23:16 +02:00
|
|
|
BROKEN= "Does not package correctly"
|
|
|
|
|
2002-08-22 21:34:32 +02:00
|
|
|
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2 \
|
2002-02-07 15:03:15 +01:00
|
|
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
2000-10-26 17:36:48 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
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
|
|
|
|
|
|
|
CONFIGURE_ARGS= "--with-readline"
|
2002-02-07 15:03:15 +01:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt ${LDFLAGS}" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2000-10-26 17:36:48 +02:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tinycobol
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${PREFIX}/share/doc/tinycobol
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|