1997-11-24 01:10:19 +01:00
|
|
|
# New ports collection makefile for: hugs
|
|
|
|
# Date created: 22 September 1997
|
|
|
|
# Whom: Torsten Teg Grust (Torsten.Grust@uni-konstanz.de)
|
|
|
|
#
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1997-11-24 01:10:19 +01:00
|
|
|
#
|
|
|
|
|
2001-06-19 16:05:40 +02:00
|
|
|
PORTNAME= hugs98
|
2003-12-04 23:31:15 +01:00
|
|
|
PORTVERSION= 200311
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2002-11-20 10:10:55 +01:00
|
|
|
CATEGORIES= lang haskell
|
2002-11-20 09:13:29 +01:00
|
|
|
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/${HUGS_DATE}/
|
2001-06-19 23:10:27 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${HUGS_DATE}
|
1997-11-24 01:10:19 +01:00
|
|
|
|
2002-08-21 16:46:07 +02:00
|
|
|
MAINTAINER= obraun@FreeBSD.org
|
2003-02-18 11:50:48 +01:00
|
|
|
COMMENT= An interpreter for the functional programming language Haskell 98
|
1997-11-24 01:10:19 +01:00
|
|
|
|
2002-11-20 09:13:29 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1997-11-24 01:10:19 +01:00
|
|
|
|
2003-12-04 23:31:15 +01:00
|
|
|
HUGS_DATE= Nov2003
|
2004-01-31 12:16:48 +01:00
|
|
|
USE_SIZE= yes
|
2002-11-20 09:13:29 +01:00
|
|
|
USE_REINPLACE= yes
|
2002-11-21 01:10:55 +01:00
|
|
|
USE_BISON= yes
|
2002-11-20 09:13:29 +01:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
|
|
|
|
ALL_TARGET= default ffihugs
|
1997-11-24 01:10:19 +01:00
|
|
|
|
2003-12-04 23:31:15 +01:00
|
|
|
MAN1= hugs.1 hugs-package.1
|
1997-11-24 01:10:19 +01:00
|
|
|
|
2002-11-20 09:13:29 +01:00
|
|
|
post-patch:
|
2003-12-04 23:31:15 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^install :: install_notes/d ; \
|
|
|
|
/^install :: install_guide/d' \
|
2002-11-20 09:13:29 +01:00
|
|
|
${WRKSRC}/MkInstal.in
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}/unix && ./configure ${CONFIGURE_ARGS})
|
|
|
|
|
1997-11-24 01:10:19 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-11-20 09:13:29 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../docs/*.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../docs/server* ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../Credits ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../License ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../Readme ${DOCSDIR}
|
1997-11-24 01:10:19 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|