aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-crypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-crypto/Makefile')
-rw-r--r--devel/hs-crypto/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/hs-crypto/Makefile b/devel/hs-crypto/Makefile
index f918d6bb51c9..72dcf1446d12 100644
--- a/devel/hs-crypto/Makefile
+++ b/devel/hs-crypto/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= crypto
-PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTVERSION= 1.2.2
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/crypto/downloads/
PKGNAMEPREFIX= hs-
@@ -28,11 +27,16 @@ USE_REINPLACE= yes
USE_GMAKE= yes
ALL_TARGET= # empty
+GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
+PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/Makefile ${WRKSRC}/package.conf
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/Makefile ${WRKSRC}/package.conf
+ @${REINPLACE_CMD} -e 's|ghc-pkg|-ghc-pkg|' \
+ ${WRKSRC}/Makefile
do-configure:
@(cd ${WRKSRC} && ${GMAKE} depend)
@@ -40,8 +44,12 @@ do-configure:
.if !defined(NOPORTDOCS)
post-build:
@(cd ${WRKSRC} && ${GMAKE} doc)
+.endif
post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/package.conf ${DATADIR}
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} && \
${INSTALL_DATA} *.html ReadMe.* haddock.css haskell_icon.gif ${DOCSDIR})
eamer&id=444a47ba39d176ab6be5d165b2147eacd2897112'>- update to jpeg-8dinoex2010-02-051-0/+1 * Update to 0.8.4rnoland2009-12-023-5/+14 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Update to 0.8.2rnoland2009-04-083-34/+36 * Update to 0.7.8rnoland2008-10-013-8/+59 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Update my email address to my @FreeBSD.org address.rnoland2008-07-311-2/+2 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+2