blob: 983f8784df54e5cc99e4096fffbe8bbbd5142416 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= uncrustify
PORTVERSION= 0.65
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Highly configurable source code beautifier
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
BROKEN_mips64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
NO_WRKSUBDIR= yes
USES= cmake:outsource
CMAKE_ARGS= -DCURRENT_VERSION="${PORTVERSION}"
TEST_TARGET= test
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/etc/*.cfg ${STAGEDIR}${ETCDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|