mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
8229674619
- Support CFLAGS properly - Fix COMMENT format PR: 53390 Submitted by: KATO Tsuguru <tkato@prontomail.com>
32 lines
725 B
Makefile
32 lines
725 B
Makefile
# New ports collection makefile for: gprolog
|
|
# Date created: 30 June 2001
|
|
# Whom: Douglas Anestad <yotta@dougdidit.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gprolog
|
|
PORTVERSION= 1.2.16
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A free Prolog compiler
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOCONF_VER= 253
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --disable-linedit --with-c-flags="${CFLAGS}"
|
|
|
|
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c
|
|
|
|
.include <bsd.port.mk>
|