freebsd-ports/lang/tinycobol/Makefile
Patrick S. Gardella 33bbb326af Update to 0.57
2002-02-26 00:55:30 +00:00

37 lines
799 B
Makefile

# New ports collection makefile for: tinycobol
# Date created: 26 Oct 2000
# Whom: Patrick Gardella <patrick@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= tinycobol
PORTVERSION= 0.57
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tiny-cobol
MAINTAINER= patrick@freebsd.org
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
ONLY_FOR_ARCHS= i386
HAS_CONFIGURE= yes
USE_BISON= yes
USE_GMAKE= yes
CONFIGURE_ARGS= "--with-readline"
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt ${LDFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include"
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>