freebsd-ports/lang/hugs/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# 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$
#
PORTNAME= hugs98
PORTVERSION= 200311
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}/
DISTNAME= ${PORTNAME}-${HUGS_DATE}
MAINTAINER= obraun@FreeBSD.org
COMMENT= An interpreter for the functional programming language Haskell 98
2002-11-20 09:13:29 +01:00
WRKSRC= ${WRKDIR}/${DISTNAME}/src
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
MAN1= hugs.1 hugs-package.1
2002-11-20 09:13:29 +01:00
post-patch:
@${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})
.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}
.endif
.include <bsd.port.mk>