1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/lang/open-cobol-devel/Makefile
Kirill Ponomarev a974bbd8dd Update to version 0.30
PR:		ports/74245
Submitted by:	Ports Fury
2004-11-23 18:58:35 +00:00

48 lines
1014 B
Makefile

# ex:ts=8
# Ports collection makefile for: open-cobol
# Date created: Aug 6, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= open-cobol
PORTVERSION= 0.30
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
USE_LIBLTDL= yes
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
INFO= open-cobol
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
@${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
.include <bsd.port.mk>