diff options
author | eadler <eadler@FreeBSD.org> | 2013-04-19 10:54:09 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-04-19 10:54:09 +0800 |
commit | d5923d39dc7358d0729984bffcac8aa9d8d3dd71 (patch) | |
tree | 5bd58cf499cd73fde57e4d0d00dfa1340d70e190 /devel/astyle | |
parent | 8275128dc9849b4a7deb47d54b4699befeddfbca (diff) | |
download | freebsd-ports-gnome-d5923d39dc7358d0729984bffcac8aa9d8d3dd71.tar.gz freebsd-ports-gnome-d5923d39dc7358d0729984bffcac8aa9d8d3dd71.tar.zst freebsd-ports-gnome-d5923d39dc7358d0729984bffcac8aa9d8d3dd71.zip |
- 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
Diffstat (limited to 'devel/astyle')
-rw-r--r-- | devel/astyle/Makefile | 14 | ||||
-rw-r--r-- | devel/astyle/pkg-descr | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile index 5ea9e3b47985..51acfe04bb75 100644 --- a/devel/astyle/Makefile +++ b/devel/astyle/Makefile @@ -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}/${PORTNAME}%20${PORTVERSION} 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 diff --git a/devel/astyle/pkg-descr b/devel/astyle/pkg-descr index 17628b126124..1e761decc6ad 100644 --- a/devel/astyle/pkg-descr +++ b/devel/astyle/pkg-descr @@ -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/ |