1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/lang/hugs/Makefile

48 lines
1.1 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 06:35:40 +00:00
# $FreeBSD$
#
PORTNAME= hugs98
2002-11-20 08:13:29 +00:00
PORTVERSION= 200211
2002-11-20 09:10:55 +00:00
CATEGORIES= lang haskell
2002-11-20 08:13:29 +00:00
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/${HUGS_DATE}/
DISTNAME= ${PORTNAME}-${HUGS_DATE}
MAINTAINER= obraun@FreeBSD.org
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
BROKEN= "Does not build on ${MACHINE_ARCH}"
.endif
2002-11-20 08:13:29 +00:00
WRKSRC= ${WRKDIR}/${DISTNAME}/src
2002-11-20 08:13:29 +00:00
HUGS_DATE= Nov2002
USE_REINPLACE= yes
2002-11-21 00:10:55 +00:00
USE_BISON= yes
2002-11-20 08:13:29 +00:00
CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
ALL_TARGET= default ffihugs
MAN1= hugs.1
2002-11-20 08:13:29 +00:00
post-patch:
@${REINPLACE_CMD} -e 's|^\(install :: install_notes\)|#\1|' \
${WRKSRC}/MkInstal.in
do-configure:
@(cd ${WRKSRC}/unix && ./configure ${CONFIGURE_ARGS})
.if !defined(NOPORTDOCS)
2002-11-20 08:13:29 +00: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>