diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2010-05-12 16:33:59 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2010-05-12 16:33:59 +0000 |
commit | ec29a59ec3d0472e808e9907b2f18dce2e9fe68c (patch) | |
tree | bd2ff04188a74e09a51bfecae86236b3684491e5 /devel/hs-ghc-paths-docs | |
parent | ba00ef6b8cc071eb53bf9287bfbc328da82f7eb8 (diff) | |
download | ports-ec29a59ec3d0472e808e9907b2f18dce2e9fe68c.tar.gz ports-ec29a59ec3d0472e808e9907b2f18dce2e9fe68c.zip |
Notes
Diffstat (limited to 'devel/hs-ghc-paths-docs')
-rw-r--r-- | devel/hs-ghc-paths-docs/Makefile | 33 | ||||
-rw-r--r-- | devel/hs-ghc-paths-docs/pkg-plist | 18 |
2 files changed, 3 insertions, 48 deletions
diff --git a/devel/hs-ghc-paths-docs/Makefile b/devel/hs-ghc-paths-docs/Makefile index 5a0a9e58067c..21c221eb8008 100644 --- a/devel/hs-ghc-paths-docs/Makefile +++ b/devel/hs-ghc-paths-docs/Makefile @@ -8,40 +8,13 @@ PORTNAME= ghc-paths PORTVERSION= 0.1.0.5 PORTREVISION= 1 CATEGORIES= devel haskell -MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ -PKGNAMEPREFIX= hs- -PKGNAMESUFFIX= -doc MAINTAINER= jacula@gmail.com COMMENT= Documentation for ghc-paths -BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ - HsColour:${PORTSDIR}/print/hs-hscolour -RUN_DEPENDS= hs-ghc-paths=${PORTVERSION}:${PORTSDIR}/devel/hs-ghc-paths +CABAL_SETUP= Setup.hs -PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK) -.if !empty(PORT_HADDOCK:M?0) -BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock -.endif - -HSCOLOUR_VERSION= 1.15 -HSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION} - -CABAL_CMD= runghc Setup.hs - -DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} - -.SILENT: - -do-configure: - cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --haddock-options=-w --prefix=${PREFIX} - -do-build: - cd ${WRKSRC} && ${CABAL_CMD} haddock --executables --hyperlink-source \ - --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css - -do-install: - ${MKDIR} ${DOCSDIR}/html - cd ${WRKSRC}/dist/doc/html/ghc-paths && ${COPYTREE_SHARE} \* ${DOCSDIR}/html +DOCUMENTATION= yes +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include <bsd.port.mk> diff --git a/devel/hs-ghc-paths-docs/pkg-plist b/devel/hs-ghc-paths-docs/pkg-plist deleted file mode 100644 index 82043f7091bd..000000000000 --- a/devel/hs-ghc-paths-docs/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -@comment $FreeBSD$ -%%DOCSDIR%%/html/GHC-Paths.html -%%DOCSDIR%%/html/doc-index.html -%%DOCSDIR%%/html/frames.html -%%DOCSDIR%%/html/ghc-paths.haddock -%%DOCSDIR%%/html/haddock-util.js -%%DOCSDIR%%/html/haddock.css -%%DOCSDIR%%/html/haskell_icon.gif -%%DOCSDIR%%/html/index-frames.html -%%DOCSDIR%%/html/index.html -%%DOCSDIR%%/html/mini_GHC-Paths.html -%%DOCSDIR%%/html/minus.gif -%%DOCSDIR%%/html/plus.gif -%%DOCSDIR%%/html/src/GHC-Paths.html -%%DOCSDIR%%/html/src/hscolour.css -@dirrm %%DOCSDIR%%/html/src -@dirrm %%DOCSDIR%%/html -@dirrmtry %%DOCSDIR%% |