mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
db5e2bc177
Approved by: portmgr@ (implicit)
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# New ports collection makefile for: xshttpd
|
|
# Date created: 9 September 2010
|
|
# Whom: Johan van Selst <johans@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= algol68g
|
|
PORTVERSION= 2.4.1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://jmvdveer.home.xs4all.nl/
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Algol 68 Genie compiler
|
|
|
|
LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl
|
|
|
|
OPTIONS_DEFINE= GNUPLOT PGSQL
|
|
OPTIONS_DEFAULT=GNUPLOT PGSQL
|
|
|
|
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>
|
|
|
|
.if ${PORT_OPTIONS:MGNUPLOT}
|
|
LIB_DEPENDS+= plot:${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} -e 's/"xgcc"/"x${CC}"/' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|