mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
d177d8bc64
ChangeLog: https://github.com/ivmai/bdwgc/releases/tag/v7.6.8 * Giving maintainership to yasu@utahime.org * Bumping PORTREVISION for dependent ports PR: 230577 Submitted by: yasu@utahime.org Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D16704
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dparser
|
|
PORTVERSION= 1.30
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/
|
|
DISTNAME= d-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple but powerful tool for parsing
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
WRKSRC= ${WRKDIR}/d
|
|
|
|
EXTRACT_AFTER_ARGS= --exclude "*my*"
|
|
USES= gmake
|
|
MAKE_ARGS= CC="${CC}" D_OPTIMIZE= PREFIX=${PREFIX}
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES= bin/make_dparser include/dparse.h include/dparse_tables.h \
|
|
include/dparse_tree.h include/dsymtab.h lib/${LIBDPARSE} \
|
|
man/man1/make_dparser.1.gz
|
|
|
|
OPTIONS_DEFINE= BOEHM DOCS
|
|
BOEHM_DESC= Boehm garbage collector support
|
|
|
|
BOEHM_LIB_DEPENDS= libgc.so:devel/boehm-gc
|
|
BOEHM_MAKE_ARGS= D_USE_GC=1 \
|
|
GC_CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
|
BOEHM_VARS= LIBDPARSE=libdparse_gc.a
|
|
BOEHM_VARS_OFF= LIBDPARSE=libdparse.a
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/make_dparser ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/make_dparser.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/dparse.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/dparse_tables.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/dparse_tree.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/dsymtab.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/${LIBDPARSE} ${STAGEDIR}${PREFIX}/lib
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|