Changeset View
Changeset View
Standalone View
Standalone View
devel/sparsehash/Makefile
# Created by: Vasil Dimov <vd@datamax.bg> | # Created by: Vasil Dimov <vd@datamax.bg> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= sparsehash | PORTNAME= sparsehash | ||||
PORTVERSION= 2.0.3 | PORTVERSION= 2.0.3 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION} | DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION} | ||||
MAINTAINER= vd@FreeBSD.org | MAINTAINER= vd@FreeBSD.org | ||||
COMMENT= Extremely memory-efficient hash_map implementation | COMMENT= Extremely memory-efficient hash_map implementation | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
USES= pathfix | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_TAGNAME= ${PORTNAME}-${PORTVERSION} | GH_TAGNAME= ${PORTNAME}-${PORTVERSION} | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-patch: | |||||
${REINPLACE_CMD} -e \ | |||||
's|^pkgconfigdir = .*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \ | |||||
${WRKSRC}/Makefile.in | |||||
post-patch-DOCS-on: | post-patch-DOCS-on: | ||||
${REINPLACE_CMD} -e \ | ${REINPLACE_CMD} -e \ | ||||
's|^docdir = .*|docdir = ${DOCSDIR}|' \ | 's|^docdir = .*|docdir = ${DOCSDIR}|' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
post-patch-DOCS-off: | post-patch-DOCS-off: | ||||
${REINPLACE_CMD} -e \ | ${REINPLACE_CMD} -e \ | ||||
Show All 9 Lines |