Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
PORTNAME= hdoc |
7 |
PORTNAME= hdoc |
8 |
PORTVERSION= 0.8.3 |
8 |
PORTVERSION= 0.8.3 |
9 |
PORTREVISION= 2 |
9 |
PORTREVISION= 3 |
10 |
CATEGORIES= devel haskell |
10 |
CATEGORIES= devel haskell |
11 |
MASTER_SITES= http://staff.fmi.uni-passau.de/~groessli/hdoc/ |
11 |
MASTER_SITES= http://staff.fmi.uni-passau.de/~groessli/hdoc/ |
12 |
PKGNAMEPREFIX= hs- |
12 |
PKGNAMEPREFIX= hs- |
Lines 15-26
Link Here
|
15 |
COMMENT= HTML documentation tool for Haskell |
15 |
COMMENT= HTML documentation tool for Haskell |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc |
17 |
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc |
|
|
18 |
LIB_DEPENDS+= gmp.8:${PORTSDIR}/math/libgmp4 |
19 |
|
20 |
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} |
18 |
|
21 |
|
19 |
PLIST_FILES= bin/hdoc |
22 |
PLIST_FILES= bin/hdoc |
|
|
23 |
.if !defined(NOPORTDOCS) |
24 |
PLIST_DIRS= share/doc/${DISTNAME} |
25 |
PLIST_FILES+= share/doc/${DISTNAME}/hdoc.pdf |
26 |
.endif |
27 |
|
20 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
21 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
22 |
|
30 |
|
23 |
CONFIGURE_ARGS+= --prefix=${PREFIX} |
31 |
CONFIGURE_ARGS+= --prefix=${PREFIX} |
24 |
ALL_TARGET= # empty |
32 |
ALL_TARGET= # empty |
25 |
|
33 |
|
|
|
34 |
post-install: |
35 |
.if !defined(NOPORTDOCS) |
36 |
${MKDIR} ${DOCSDIR} && \ |
37 |
cd ${WRKSRC}/docs && ${INSTALL_DATA} hdoc.pdf ${DOCSDIR} |
38 |
.endif |
39 |
|
26 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |