blob: 0f63e208a48311a1b5217da8f1989531262e23ac (
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
46
47
|
# New ports collection makefile for: xshttpd
# Date created: 9 September 2010
# Whom: Johan van Selst <johans@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= algol68g
PORTVERSION= 2.1.2
CATEGORIES= lang
MASTER_SITES= http://www.xs4all.nl/~jmvdveer/
EXTRACT_SUFX= .tgz
MAINTAINER= johans@FreeBSD.org
COMMENT= Alogol 68 Genie compiler
LIB_DEPENDS= gsl.15:${PORTSDIR}/math/gsl
OPTIONS= PLOT "GNU plot support" On \
PGSQL "Postgresql support" On
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-compiler
MAN1= a68g.1
PLIST_DIRS= include/algol68g
PLIST_FILES= bin/a68g include/algol68g/a68g.h include/algol68g/a68g-config.h
.include <bsd.port.options.mk>
.ifdef WITH_PLOT
LIB_DEPENDS+= plot.4:${PORTSDIR}/graphics/plotutils
.else
CONFIGURE_ARGS+=--disable-plotutils
.endif
.ifdef WITH_PGSQL
USE_PGSQL= yes
.else
CONFIGURE_ARGS+=--disable-postgresql
.endif
post-patch:
# Skip broken check, assume our $CC works
@${REINPLACE_CMD} -e 's/"xgcc"/"x${CC}"/' ${WRKSRC}/configure
.include <bsd.port.mk>
|