Update textproc/libucl to version 0.7.2
[dports.git] / lang / algol68g / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       algol68g
4 PORTVERSION=    2.8
5 PORTREVISION=   2
6 CATEGORIES=     lang
7 MASTER_SITES=   http://jmvdveer.home.xs4all.nl/
8
9 MAINTAINER=     johans@FreeBSD.org
10 COMMENT=        Algol 68 Genie compiler
11
12 LIB_DEPENDS=    libgsl.so:${PORTSDIR}/math/gsl
13
14 OPTIONS_DEFINE= PLOTUTILS PGSQL
15 OPTIONS_DEFAULT=PLOTUTILS PGSQL
16
17 PLOTUTILS_DESC=         Plotting support via plotutils
18 PLOTUTILS_LIB_DEPENDS=  libplot.so:${PORTSDIR}/graphics/plotutils
19 PLOTUTILS_CONFIGURE_ENABLE=plotutils
20
21 PGSQL_USES=             pgsql
22 PGSQL_CONFIGURE_ENABLE= postgresql
23
24 GNU_CONFIGURE=  yes
25 CONFIGURE_ARGS+=--enable-compiler
26
27 PLIST_FILES=    bin/a68g man/man1/a68g.1.gz \
28                 include/algol68g/a68g.h include/algol68g/a68g-config.h
29
30 post-patch:
31 #       Skip broken check, assume our $CC works
32         @${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \
33                 -e 's/"xgcc"/"x${CC}"/; s/-ldl //' ${WRKSRC}/configure
34         @${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \
35                 ${WRKSRC}/Makefile.in
36
37 .include <bsd.port.mk>