diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-08 20:00:45 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-08 20:00:45 +0000 |
commit | 32df1e900e00ea9214c65f3e34eb7933be82c7f5 (patch) | |
tree | eba5a96fe8ec66011e70acc1e3bc11fe75280df3 /devel/boehm-gc/Makefile | |
parent | dcff96bf89e0a3b906eb587481d3093eca41f2b2 (diff) | |
download | ports-32df1e900e00ea9214c65f3e34eb7933be82c7f5.tar.gz ports-32df1e900e00ea9214c65f3e34eb7933be82c7f5.zip |
Notes
Diffstat (limited to 'devel/boehm-gc/Makefile')
-rw-r--r-- | devel/boehm-gc/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index f1bcc3366250..f4fd8acda071 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gc -PORTVERSION= 7.2e -PORTREVISION?= 0 +PORTVERSION= 7.4.2 CATEGORIES= devel MASTER_SITES= http://www.hboehm.info/gc/gc_source/ PKGNAMEPREFIX= boehm- @@ -11,17 +10,21 @@ PKGNAMEPREFIX= boehm- PKGNAMESUFFIX= -${GC_VARIANT} .endif -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cjpugmed@gmail.com COMMENT= Garbage collection and memory leak detection for C and C++ LICENSE= BDWGC LICENSE_NAME= Boehm-Demers-Weiser Garbage Collector License -LICENSE_FILE= ${WRKSRC}/doc/README +LICENSE_TEXT= License can be found at http://www.hboehm.info/gc/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops + GNU_CONFIGURE= yes -USES= pathfix +USES= libtool pathfix +USE_AUTOTOOLS= aclocal autoconf libtoolize USE_LDCONFIG= yes +INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-cplusplus --disable-static MAKE_JOBS_UNSAFE= yes @@ -60,10 +63,6 @@ CONFIGURE_ARGS+=--enable-gc-debug PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug .endif -.if ! ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+=--datarootdir=${WRKDIR}/doc -.endif - .if defined(GC_VARIANT) && ${GC_VARIANT} == "threaded" . if ${PORT_OPTIONS:MPARALLEL_MARK} CONFIGURE_ARGS+=--enable-parallel-mark @@ -88,8 +87,8 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/bdw-gc.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/bdw-gc-${GC_VARIANT}.pc - .else # ! GC_VARIANT + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man @${REINPLACE_CMD} \ @@ -98,6 +97,8 @@ post-patch: post-install: ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MAN3PREFIX}/man/man3/gc.3 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .endif |