svn commit: r452694 - head/devel/astyle
Tobias Kortkamp
tobik at FreeBSD.org
Mon Oct 23 07:32:38 UTC 2017
Author: tobik
Date: Mon Oct 23 07:32:36 2017
New Revision: 452694
URL: https://svnweb.freebsd.org/changeset/ports/452694
Log:
devel/astyle: Update to 3.0.1
- Install example option files
Changes: http://astyle.sourceforge.net/notes.html
PR: 223173
Approved by: lme (maintainer)
Modified:
head/devel/astyle/Makefile
head/devel/astyle/distinfo
head/devel/astyle/pkg-plist
Modified: head/devel/astyle/Makefile
==============================================================================
--- head/devel/astyle/Makefile Mon Oct 23 07:19:52 2017 (r452693)
+++ head/devel/astyle/Makefile Mon Oct 23 07:32:36 2017 (r452694)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= astyle
-PORTVERSION= 2.06
+PORTVERSION= 3.0.1
CATEGORIES= devel textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_linux
@@ -11,23 +11,21 @@ MAINTAINER= lme at FreeBSD.org
COMMENT= Source code indenter and formatter for C, C++, C\#, and Java
LICENSE= MIT
-LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.txt
+LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.md
-ALL_TARGET= astyle
-LDFLAGS+= -s
-USES= compiler gmake iconv
+USES= compiler dos2unix gmake
+ALL_TARGET= astyle
+DOS2UNIX_GLOB= *.ini
WRKSRC= ${WRKDIR}/astyle/build/${COMPILER_TYPE}
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
-pre-patch:
- @${REINPLACE_CMD} -e 's,\(CFLAGSr.*=.*\),\1 -I${LOCALBASE}/include,' \
- ${WRKSRC}/Makefile
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/astyle/doc/* ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKDIR}/astyle/file/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
Modified: head/devel/astyle/distinfo
==============================================================================
--- head/devel/astyle/distinfo Mon Oct 23 07:19:52 2017 (r452693)
+++ head/devel/astyle/distinfo Mon Oct 23 07:32:36 2017 (r452694)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1483308022
-SHA256 (astyle_2.06_linux.tar.gz) = 3b7212210dc139e8f648e004b758c0be1b3ceb1694b22a879202d2b833db7c7e
-SIZE (astyle_2.06_linux.tar.gz) = 162037
+TIMESTAMP = 1508703851
+SHA256 (astyle_3.0.1_linux.tar.gz) = 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd
+SIZE (astyle_3.0.1_linux.tar.gz) = 172483
Modified: head/devel/astyle/pkg-plist
==============================================================================
--- head/devel/astyle/pkg-plist Mon Oct 23 07:19:52 2017 (r452693)
+++ head/devel/astyle/pkg-plist Mon Oct 23 07:32:36 2017 (r452694)
@@ -4,3 +4,16 @@ bin/astyle
%%PORTDOCS%%%%DOCSDIR%%/news.html
%%PORTDOCS%%%%DOCSDIR%%/notes.html
%%PORTDOCS%%%%DOCSDIR%%/styles.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/allman.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astyle.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chromium.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gnu.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/google.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/horstmann.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/linux.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/llvm.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mozilla.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stroustrup.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/visualstudio.ini
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/webkit.ini
More information about the svn-ports-head
mailing list