blob: 12060e2cfbc0ec2de1d1806ffce90350d4a53fd5 (
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
39
40
41
42
43
44
45
|
# $FreeBSD$
PORTNAME= algol68g
PORTVERSION= 2.8
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://jmvdveer.home.xs4all.nl/
MAINTAINER= johans@FreeBSD.org
COMMENT= Algol 68 Genie compiler
LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
OPTIONS_DEFINE= GNUPLOT PGSQL
OPTIONS_DEFAULT=GNUPLOT PGSQL
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-compiler
PLIST_DIRS= include/algol68g
PLIST_FILES= bin/a68g man/man1/a68g.1.gz \
include/algol68g/a68g.h include/algol68g/a68g-config.h
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUPLOT}
LIB_DEPENDS+= libplot.so:${PORTSDIR}/graphics/plotutils
.else
CONFIGURE_ARGS+=--disable-plotutils
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
.else
CONFIGURE_ARGS+=--disable-postgresql
.endif
post-patch:
# Skip broken check, assume our $CC works
@${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \
-e 's/"xgcc"/"x${CC}"/; s/-ldl //' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|