Date: Fri, 19 Apr 2013 02:54:10 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316082 - head/devel/astyle Message-ID: <201304190254.r3J2sAOW015980@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Fri Apr 19 02:54:09 2013 New Revision: 316082 URL: http://svnweb.freebsd.org/changeset/ports/316082 Log: - Convert to OptionsNG - Strip header - Remove leading article - Better pkg-descr PR: ports/176459 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Approved by: maintainer timeout (> 1 month) Feature safe: yes Modified: head/devel/astyle/Makefile head/devel/astyle/pkg-descr Modified: head/devel/astyle/Makefile ============================================================================== --- head/devel/astyle/Makefile Thu Apr 18 23:40:38 2013 (r316081) +++ head/devel/astyle/Makefile Fri Apr 19 02:54:09 2013 (r316082) @@ -1,9 +1,5 @@ -# New ports collection makefile for: astyle -# Date created: 31 Jan 1999 -# Whom: Don Croyle <croyle@gelemna.org> -# +# Created by: Don Croyle <croyle@gelemna.org> # $FreeBSD$ -# PORTNAME= astyle PORTVERSION= 2.02.1 @@ -12,7 +8,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME} DISTNAME= ${PORTNAME}_${PORTVERSION}_linux MAINTAINER= lme@FreeBSD.org -COMMENT= A reindenter and reformatter of C, C++, C\#, and Java source code +COMMENT= Source code indenter and formatter for C, C++, C\#, and Java ALL_TARGET= astyle CFLAGS+= -W -Wall -fno-rtti -fno-exceptions @@ -26,14 +22,16 @@ WRKSRC= ${WRKDIR}/astyle/build/gcc pre-patch: @${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile +.include <bsd.port.options.mk> + PLIST_FILES= bin/astyle -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.html ${DOCSDIR} .endif Modified: head/devel/astyle/pkg-descr ============================================================================== --- head/devel/astyle/pkg-descr Thu Apr 18 23:40:38 2013 (r316081) +++ head/devel/astyle/pkg-descr Fri Apr 19 02:54:09 2013 (r316082) @@ -1,3 +1,5 @@ -Artistic Style is a variant on indent that can handle C, C++ and Java source. +Artistic Style is a source code indenter, formatter, and beautifier for the C, +C++, C# and Java programming languages. It automatically re-indents and +re-formats source files and can be used from a command line. WWW: http://astyle.sourceforge.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304190254.r3J2sAOW015980>