| @@ -1,35 +1,35 @@ | | | @@ -1,35 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.9 2012/09/16 20:12:08 jaapb Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2012/09/17 11:45:43 jaapb Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ocaml-mysql-1.1.1 | | 4 | DISTNAME= ocaml-mysql-1.1.1 |
5 | CATEGORIES= databases | | 5 | CATEGORIES= databases |
6 | MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/870/ | | 6 | MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/870/ |
7 | | | 7 | |
8 | MAINTAINER= jaapb@NetBSD.org | | 8 | MAINTAINER= jaapb@NetBSD.org |
9 | HOMEPAGE= http://ocaml-mysql.forge.ocamlcore.org/ | | 9 | HOMEPAGE= http://ocaml-mysql.forge.ocamlcore.org/ |
10 | COMMENT= Ocaml library for MySQL database access | | 10 | COMMENT= Ocaml library for MySQL database access |
11 | LICENSE= gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-lgpl-v2.1 |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
15 | USE_PKGLOCALEDIR= yes | | 15 | USE_PKGLOCALEDIR= yes |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | USE_TOOLS+= gmake | | 17 | USE_TOOLS+= gmake |
18 | | | 18 | |
19 | DOCDIR= ${PREFIX}/share/doc/ocaml-mysql | | 19 | DOCDIR= ${PREFIX}/share/doc/ocaml-mysql |
20 | INSTALLATION_DIRS= ${DOCDIR} | | 20 | INSTALLATION_DIRS= ${DOCDIR} |
21 | | | 21 | |
22 | BUILD_TARGET= all doc | | 22 | BUILD_TARGET= all htdoc |
23 | PLIST_VARS= opt | | 23 | PLIST_VARS= opt |
24 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ | | 24 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ |
25 | (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ | | 25 | (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ |
26 | (${MACHINE_ARCH} == "arm") | | 26 | (${MACHINE_ARCH} == "arm") |
27 | BUILD_TARGET+= opt | | 27 | BUILD_TARGET+= opt |
28 | PLIST.opt= yes | | 28 | PLIST.opt= yes |
29 | .endif | | 29 | .endif |
30 | | | 30 | |
31 | post-install: | | 31 | post-install: |
32 | cd ${WRKSRC}/doc/mysql/html && ${INSTALL_DATA} *.html ${DESTDIR}${DOCDIR} | | 32 | cd ${WRKSRC}/doc/mysql/html && ${INSTALL_DATA} *.html ${DESTDIR}${DOCDIR} |
33 | | | 33 | |
34 | .include "../../lang/ocaml/buildlink3.mk" | | 34 | .include "../../lang/ocaml/buildlink3.mk" |
35 | .include "../../devel/ocaml-findlib/buildlink3.mk" | | 35 | .include "../../devel/ocaml-findlib/buildlink3.mk" |