aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tinycobol/Makefile
blob: 4f2d54eb090d97fe5430f84c11829aa5a62621ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    tinycobol
# Date created:     26 Oct 2000
# Whom:         Patrick Gardella <patrick@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   tinycobol
PORTVERSION=    0.58
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tiny-cobol

MAINTAINER= patrick@freebsd.org

LIB_DEPENDS=    db2.0:${PORTSDIR}/databases/db2 \
        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" 

MAN1=        htcobol.1 htcobf2f.1 htcobolpp.1

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>