mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
8ec18d0c1c
- Move DOCS installation to OPTONSNG compatible - Fix patch files to be 'make makepatch' compatible
33 lines
816 B
Makefile
33 lines
816 B
Makefile
# Created by: Mike Buchanon <buchanon@msu.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bcpp
|
|
PORTVERSION= 20150811
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://invisible-island.net/bcpp/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Utility similar to indent for C++ code
|
|
|
|
LICENSE= MIT
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAKEFILE= makefile
|
|
USES= tar:tgz
|
|
|
|
CFLAGS+= -DBCPP_CONFIG_DIR=\\\"${PREFIX}/etc/${PORTNAME}\\\"
|
|
|
|
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>
|