summaryrefslogtreecommitdiff
path: root/lang/afnix/Makefile
blob: f4ae2d931713089d1d5d41063b1b174646010c87 (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
# ex:ts=8
# New ports collection makefile for:	aleph
# Date created:			Mar 7, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	aleph
PORTVERSION=	0.8.1
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.aleph-lang.org/pub/%SUBDIR%/
MASTER_SITE_SUBDIR=	${PORTNAME}-${PORTVERSION:S,.,-,g}
DISTNAME=	${PORTNAME}-src-${PORTVERSION:S,.,-,g}

MAINTAINER=	ijliao@FreeBSD.org
COMMENT=	Aleph is a multi-threaded functional programming language

USE_GMAKE=	yes
MAKE_ARGS=	CC="${CXX}" LD="${CXX}" LK="${CXX}" OPTCCFLAGS="${CXXFLAGS}" \
		DYNCCFLAGS="-fPIC -DPIC" DEBUGFLAGS="" DBGDEFINES="" \
		STDDEFINES="${PTHREAD_CFLAGS}" EXELDFLAGS="${PTHREAD_LIBS}"
INSTALLS_SHLIB=	yes

PLIST_SUB=	PORTVER=${PORTVERSION:R}

MAN1=	aleph.1 axc.1 axl.1

do-configure:
	@(cd ${WRKSRC}; ./cnf/bin/aleph-setup -o)

post-install:
	@strip ${PREFIX}/bin/aleph

.include <bsd.port.mk>