1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/ocaml-sqlite3/Makefile
Pav Lucistnik 943342c70b - Update to 1.0.3
- Sign up a new maintainer

PR:		ports/122856
Submitted by:	Jaap Boender <jaapb@kerguelen.org>
Approved by:	Meikel Brandmeyer <mb@kotka.de> (maintainer)
2008-04-19 21:41:03 +00:00

47 lines
1.0 KiB
Makefile

# Ports collection makefile for: ocaml-sqlite3
# Date created: 27th February 2006
# Whom: "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
#
# $FreeBSD$
#
PORTNAME= sqlite3
PORTVERSION= 1.0.3
CATEGORIES= databases
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= jaapb@kerguelen.org
COMMENT= OCaml bindings to sqlite3 library
USE_SQLITE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_PLIST= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}"\
CFLAGS="${CFLAGS}"\
CPPFLAGS="-UHAVE_ALLOCA_H -I${PREFIX}/include"\
LDFLAGS="-L${PREFIX}/lib"\
LIBS="${PTHREAD_LIBS}"
USE_BZIP2= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= README style.css *.html
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@( cd ${WRKSRC}; ${INSTALL_DATA} README ${DOCSDIR} )
@( cd ${WRKSRC}/doc;\
for f in `${FIND} . -type f -print`; do\
${INSTALL_DATA} $${f} ${DOCSDIR};\
done )
.endif
.include <bsd.port.mk>