summaryrefslogtreecommitdiff
path: root/databases/sqlite3-docs/Makefile
blob: 6911c09f9a7fcde305ce7bf5a12a3d3257ca2e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.3 2011/04/12 19:03:48 adam Exp $

DISTNAME=	sqlite-doc-3070600
PKGNAME=	sqlite3-docs-3.7.6
CATEGORIES=	databases
MASTER_SITES=	http://www.hwaci.com/sw/sqlite/ \
		http://www.sqlite.org/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sqlite.org/
COMMENT=	SQL Database Engine in a C Library (docs package)
# "Portions of the documentation and some code used as part of the
# build process might fall under other licenses.  We do not worry
# about the licensing of the documentation and build code so much
# because none of these things are part of the core deliverable SQLite
# library."
LICENSE=	public-domain

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# none
USE_TOOLS+=	find xargs pax

DOCDIR=			share/doc/sqlite3
INSTALLATION_DIRS+=	${DOCDIR}

post-extract:
	find ${WRKSRC} -type f -print | xargs chmod 644
	find ${WRKSRC} -type d -print | xargs chmod 755

do-build:
	${TRUE}

do-install:
	cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/${DOCDIR}

.include "../../mk/bsd.pkg.mk"