Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mysql |
8 |
PORTNAME= mysql |
9 |
PORTVERSION= 1.1.0 |
9 |
PORTVERSION= 1.1.1 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
12 |
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/336/ |
11 |
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/336/ |
13 |
PKGNAMEPREFIX= ocaml- |
12 |
PKGNAMEPREFIX= ocaml- |
Lines 16-21
Link Here
|
16 |
MAINTAINER= jyyou@cs.nctu.edu.tw |
15 |
MAINTAINER= jyyou@cs.nctu.edu.tw |
17 |
COMMENT= OCaml bindings to libmysqlclient |
16 |
COMMENT= OCaml bindings to libmysqlclient |
18 |
|
17 |
|
|
|
18 |
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-1.1.0 |
19 |
|
19 |
USE_GMAKE= yes |
20 |
USE_GMAKE= yes |
20 |
USE_MYSQL= yes |
21 |
USE_MYSQL= yes |
21 |
|
22 |
|
Lines 27-41
Link Here
|
27 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
28 |
|
29 |
|
29 |
ALL_TARGET= all opt |
30 |
ALL_TARGET= all opt |
|
|
31 |
|
30 |
.if !defined(NOPORTDOCS) |
32 |
.if !defined(NOPORTDOCS) |
31 |
ALL_TARGET+= htdoc |
33 |
ALL_TARGET+= htdoc |
32 |
.endif |
34 |
PORTDOCS= * |
33 |
|
35 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
34 |
PORTDOCS= * |
|
|
35 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
36 |
|
36 |
|
37 |
post-install: |
37 |
post-install: |
38 |
.if !defined(NOPORTDOCS) |
|
|
39 |
${MKDIR} ${DOCSDIR} |
38 |
${MKDIR} ${DOCSDIR} |
40 |
${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${DOCSDIR} |
39 |
${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${DOCSDIR} |
41 |
.endif |
40 |
.endif |