diff options
author | clsung <clsung@FreeBSD.org> | 2007-03-02 09:28:53 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-03-02 09:28:53 +0800 |
commit | 8a010573f1b1a88727132df5fe2cc1a31fd18829 (patch) | |
tree | f5055be4eb7247984e24e53842077488d558908c /devel | |
parent | 93cf8cb68a6dcd43d0bdc90795e631de93c69348 (diff) | |
download | freebsd-ports-gnome-8a010573f1b1a88727132df5fe2cc1a31fd18829.tar.gz freebsd-ports-gnome-8a010573f1b1a88727132df5fe2cc1a31fd18829.tar.zst freebsd-ports-gnome-8a010573f1b1a88727132df5fe2cc1a31fd18829.zip |
- Update to 1.20.1
PR: ports/108717
Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
Approved by: maintainer timeout
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/Makefile | 24 | ||||
-rw-r--r-- | devel/astyle/distinfo | 6 |
2 files changed, 12 insertions, 18 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile index 79687f4ccb86..320cfbf352c5 100644 --- a/devel/astyle/Makefile +++ b/devel/astyle/Makefile @@ -6,7 +6,7 @@ # PORTNAME= astyle -PORTVERSION= 1.19 +PORTVERSION= 1.20.1 CATEGORIES= devel textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,34 +16,28 @@ MAINTAINER= andrew.nau.ua@gmail.com COMMENT= A reindenter and reformatter of C, C++, C\# and Java source code ALL_TARGET= astyle -CXXFLAGS+= -fno-rtti -fno-exceptions +CFLAGS+= -W -Wall -fno-rtti -fno-exceptions LDFLAGS+= -s -MAKE_ARGS= CPPFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" +MAKE_ARGS+= CFLAGS="${CFLAGS}" USE_GCC= 3.3+ +USE_GMAKE= yes -WRKSRC= ${WRKDIR}/astyle/src +WRKSRC= ${WRKDIR}/astyle/build +ALL_TARGET= release pre-patch: - ${REINPLACE_CMD} -e \ - 's,^ifdef,#ifdef,; \ - s,^else,#else,; \ - s,^endif,#endif,; \ - s,^CPPFLAGS,#CPPFLAGS,; \ - s,^LDFLAGS,#LDFLAGS,;' \ - ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e 's,g++,$$(CXX),' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile PLIST_FILES= bin/astyle .if !defined(NOPORTDOCS) -PORTDOCS= astyle.html astyleX.html astyle_news.html astyle_release_notes.html install.txt license.html +PORTDOCS= astyle.html astyleX.html astyle_news.html astyle_release_notes.html develop.html install.html license.html .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/../bin/astyle ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.txt ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo index 493d600ead39..0ac91aa66988 100644 --- a/devel/astyle/distinfo +++ b/devel/astyle/distinfo @@ -1,3 +1,3 @@ -MD5 (astyle_1.19_linux.tar.gz) = 2cd52822f39b9211846c4070999a492d -SHA256 (astyle_1.19_linux.tar.gz) = 3582e737bae089e2b81b58166e0fee21e30d846eb357b68525c1e6178a5542f6 -SIZE (astyle_1.19_linux.tar.gz) = 63610 +MD5 (astyle_1.20.1_linux.tar.gz) = 8fe20dd77473fe96e3e48683d8f94205 +SHA256 (astyle_1.20.1_linux.tar.gz) = e36bc5ac743f7985cf84d29d592c822adec4f37c0d79b5a7e1c5bef17e40632f +SIZE (astyle_1.20.1_linux.tar.gz) = 77364 |