aboutsummaryrefslogtreecommitdiff
path: root/textproc/uncrustify
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-18 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-18 15:01:45 +0000
commita27b137975e86f14e0571d30527e4e2661e468b1 (patch)
treee7eb19a2d1f00f3f348869261ca76f29fafb0855 /textproc/uncrustify
parentb2419ba57288f6fda7b42a60555692a25c3927c3 (diff)
downloadports-a27b137975e86f14e0571d30527e4e2661e468b1.tar.gz
ports-a27b137975e86f14e0571d30527e4e2661e468b1.zip
- Update to 0.64
Notes
Notes: svn path=/head/; revision=424167
Diffstat (limited to 'textproc/uncrustify')
-rw-r--r--textproc/uncrustify/Makefile15
-rw-r--r--textproc/uncrustify/distinfo5
-rw-r--r--textproc/uncrustify/pkg-plist17
3 files changed, 29 insertions, 8 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index 46615c6fe567..97136782eb6c 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= uncrustify
-PORTVERSION= 0.63
+PORTVERSION= 0.64
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -12,16 +12,19 @@ COMMENT= Highly configurable source code beautifier
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-GNU_CONFIGURE= yes
-USES= gmake
-TEST_TARGET= check
+NO_WRKSUBDIR= yes
+USES= cmake:outsource
+CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
+TEST_TARGET= test
-PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-PORTDATA= *
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}/
diff --git a/textproc/uncrustify/distinfo b/textproc/uncrustify/distinfo
index 9f9d4b17243e..2941a5d50eb3 100644
--- a/textproc/uncrustify/distinfo
+++ b/textproc/uncrustify/distinfo
@@ -1,2 +1,3 @@
-SHA256 (uncrustify-0.63.tar.gz) = dffbb1341a8d208e0c76b65209750e34e75b29c5a0e9a5d5a943df58bfdc2ae3
-SIZE (uncrustify-0.63.tar.gz) = 1174476
+TIMESTAMP = 1476796552
+SHA256 (uncrustify-0.64.tar.gz) = 0fca05fe8bac2cd80bf3ed77378c82ffe365f37a3f80b8e0ca2dbb3c6e25f3d7
+SIZE (uncrustify-0.64.tar.gz) = 1178137
diff --git a/textproc/uncrustify/pkg-plist b/textproc/uncrustify/pkg-plist
new file mode 100644
index 000000000000..35951e8a4622
--- /dev/null
+++ b/textproc/uncrustify/pkg-plist
@@ -0,0 +1,17 @@
+bin/uncrustify
+%%ETCDIR%%/amxmodx.cfg
+%%ETCDIR%%/ben.cfg
+%%ETCDIR%%/ben2.cfg
+%%ETCDIR%%/d.cfg
+%%ETCDIR%%/defaults.cfg
+%%ETCDIR%%/freebsd.cfg
+%%ETCDIR%%/gnu-indent.cfg
+%%ETCDIR%%/klaus.cfg
+%%ETCDIR%%/kr-indent.cfg
+%%ETCDIR%%/linux-indent.cfg
+%%ETCDIR%%/linux.cfg
+%%ETCDIR%%/mono.cfg
+%%ETCDIR%%/objc.cfg
+%%ETCDIR%%/sun.cfg
+%%ETCDIR%%/xsupplicant.cfg
+man/man1/uncrustify.1.gz