freebsd-ports/devel/google-sparsehash/Makefile
Vasil Dimov 32c90e3a78 Upgrade devel/google-sparsehash from 0.5 to 0.6
PR:		ports/110914 (based on)
Submitted by:	Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
2007-03-27 19:40:02 +00:00

38 lines
914 B
Makefile

# New ports collection makefile for: google-sparsehash
# Date created: 23 June 2005
# Whom: Vasil Dimov <vd@datamax.bg>
#
# $FreeBSD$
#
PORTNAME= google-sparsehash
PORTVERSION= 0.6
CATEGORIES= devel
MASTER_SITES= http://google-sparsehash.googlecode.com/files/
DISTNAME= sparsehash-${PORTVERSION}
MAINTAINER= vd@FreeBSD.org
COMMENT= Google's hashtable implementations optimized for space or speed
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
post-patch:
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} -e \
's|^docdir = .*|docdir = ${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.else
${REINPLACE_CMD} -e \
'/install-data-am/ s|install-dist_docDATA||' \
${WRKSRC}/Makefile.in
.endif
regression-test: check
check: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
.include <bsd.port.post.mk>