mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
5a59d0e070
PR: ports/128651 Submitted by: Samy Al Bahra <sbahra@kerneled.org> (maintainer)
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# New ports collection makefile for: porte
|
|
# Date created: November 4, 2008
|
|
# Whom: Samy Al Bahra <sbahra@kerneled.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= porte
|
|
PORTVERSION= 0.0.2.1
|
|
CATEGORIES= ports-mgmt haskell
|
|
MASTER_SITES= http://kerneled.org/releases/
|
|
|
|
MAINTAINER= sbahra@kerneled.org
|
|
COMMENT= FreeBSD ports index search and statistical analysis tool
|
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
|
hs-stringsearch>=0.2.1.1:${PORTSDIR}/textproc/hs-stringsearch
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
CABAL= ${LOCALBASE}/bin/runghc Setup.hs
|
|
GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
|
|
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
|
|
PLIST_SUB= GHC_VERSION="${GHC_VERSION}" \
|
|
PORTVERSION=${PORTVERSION} \
|
|
SUBDIR=${SUBDIR}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${CABAL} install
|
|
${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
|
|
|
|
.include <bsd.port.mk>
|