mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
34 lines
902 B
Makefile
34 lines
902 B
Makefile
# Created by: Mike Buchanon <buchanon@msu.edu>
|
|
|
|
PORTNAME= bcpp
|
|
PORTVERSION= 20210108
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME}/ \
|
|
https://invisible-mirror.net/archives/${PORTNAME}/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Utility similar to indent for C++ code
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= tar:tgz
|
|
GNU_CONFIGURE= yes
|
|
MAKEFILE= makefile
|
|
|
|
CFLAGS+= -DBCPP_CONFIG_DIR=\\\"${PREFIX}/etc/${PORTNAME}\\\"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/code/${PORTNAME}.cfg \
|
|
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|