mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# New ports collection makefile for: hmake
|
|
# Date created: 27 November 2001
|
|
# Whom: mwest@uct.ac.za
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hmake
|
|
PORTVERSION= 3.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= http://www.haskell.org/hmake/ \
|
|
ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/ \
|
|
http://www.cs.york.ac.uk/fp/hmake/
|
|
PKGNAMEPREFIX= hs-
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Intelligent compilation management tool for Haskell programs
|
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
|
.if exists(${LOCALBASE}/lib/libreadline.so)
|
|
LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
|
|
.endif
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
USE_GMAKE= YES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
PLIST_SUB+= ARCH=ix86
|
|
.elif ${ARCH} == "amd64"
|
|
PLIST_SUB+= ARCH=amd64
|
|
.endif
|
|
|
|
do-install:
|
|
# cheat a bit, otherwise LIBDIR gets clobbered
|
|
(cd ${WRKSRC} && ./configure --install)
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${PREFIX}/bin/runhs
|
|
|
|
MAN1= hmake.1
|
|
|
|
CONFLICTS= nhc98-[0-9]*
|
|
|
|
.include <bsd.port.post.mk>
|