freebsd-ports/devel/google-sparsehash/Makefile

40 lines
878 B
Makefile
Raw Normal View History

# New ports collection makefile for: google-sparsehash
# Date created: 23 June 2005
# Whom: Vasil Dimov <vd@datamax.bg>
#
# $FreeBSD$
#
PORTNAME= google-sparsehash
PORTVERSION= 1.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
2007-06-15 17:24:18 +02:00
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= vd/${PORTNAME}
DISTNAME= sparsehash-${PORTVERSION}
MAINTAINER= vd@FreeBSD.org
COMMENT= An extremely memory-efficient hash_map implementation
GNU_CONFIGURE= yes
.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>