File:  [cvs.NetBSD.org] / pkgsrc / devel / libarena / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Mon Feb 28 14:52:45 2011 UTC (13 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, HEAD
Reset maintainer for retired developers.

# $NetBSD: Makefile,v 1.3 2011/02/28 14:52:45 wiz Exp $
#

DISTNAME=	libarena-${SNAPSHOT_DATE}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.tgz
SNAPSHOT_DATE=	20080221

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.25thandclement.com/~william/projects/libarena.html
COMMENT=	Memory allocator API and implementation

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_TARGET=	pic
USE_FEATURES=	getenv vsnprintf # XXX strsep should be added to USE_FEATURES
USE_LIBTOOL=	yes

EGDIR=		${PREFIX}/share/examples/${PKGBASE}

pre-install:
	${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib && \
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/arena

do-install:
	for fn in `eval ls ${WRKSRC}/src/*.h`; do \
	    ${INSTALL_DATA} $$fn ${DESTDIR}${PREFIX}/include/arena; \
	done
	${LIBTOOL} --mode=install ${INSTALL_LIB} \
	    ${WRKSRC}/src/${PKGBASE}.la ${DESTDIR}${PREFIX}/lib
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} && \
	${INSTALL_DATA} ${WRKSRC}/regress/stacked.c \
	    ${DESTDIR}${EGDIR}

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

CVSweb <webmaster@jp.NetBSD.org>