File:  [cvs.NetBSD.org] / pkgsrc / databases / tinycdb / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Tue Oct 2 21:25:54 2012 UTC (12 years, 2 months ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.7 2012/10/02 21:25:54 asau Exp $
#

DISTNAME=		tinycdb_0.77
PKGNAME=		${DISTNAME:S/_/-/}
PKGREVISION=		1
CATEGORIES=		databases
MASTER_SITES=		http://www.corpit.ru/mjt/tinycdb/

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://www.corpit.ru/mjt/tinycdb.html
COMMENT=		Create and read constant databases

CONFLICTS+=		cdb-[0-9]*

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}

BUILD_TARGET=		all sharedlib piclib
INSTALL_TARGET=		install install-piclib install-sharedlib

SUBST_CLASSES+=		paths
SUBST_STAGE.paths=	do-configure
SUBST_FILES.paths=	Makefile debian/libcdb.pc
SUBST_VARS.paths=	PREFIX PKG_SYSCONFDIR PKGMANDIR
SUBST_MESSAGE.paths=	Configuring pkgsrc paths.

PKGCONFIG_OVERRIDE+=	debian/libcdb.pc

INSTALLATION_DIRS+=	lib/pkgconfig

post-install:
	${INSTALL_DATA} ${WRKSRC}/debian/libcdb.pc \
			${DESTDIR}${PREFIX}/lib/pkgconfig

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

CVSweb <webmaster@jp.NetBSD.org>