mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
8940343c6b
* add BROKEN for alpha and sparc64
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: hugs
|
|
# Date created: 22 September 1997
|
|
# Whom: Torsten Teg Grust (Torsten.Grust@uni-konstanz.de)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hugs98
|
|
PORTVERSION= 200211
|
|
CATEGORIES= lang haskell
|
|
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
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
HUGS_DATE= Nov2002
|
|
USE_REINPLACE= yes
|
|
USE_BISON= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
|
|
ALL_TARGET= default ffihugs
|
|
|
|
MAN1= hugs.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^\(install :: install_notes\)|#\1|' \
|
|
${WRKSRC}/MkInstal.in
|
|
|
|
do-configure:
|
|
@(cd ${WRKSRC}/unix && ./configure ${CONFIGURE_ARGS})
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
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>
|