aboutsummaryrefslogtreecommitdiff
path: root/devel/astyle
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-04-19 02:54:09 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-04-19 02:54:09 +0000
commit29646af93e60c7fc2fa22c79c54164265b9434af (patch)
tree5bd58cf499cd73fde57e4d0d00dfa1340d70e190 /devel/astyle
parentab571e92ec33e9fbf44e9e3e1cec53cc322d710a (diff)
downloadports-29646af93e60c7fc2fa22c79c54164265b9434af.tar.gz
ports-29646af93e60c7fc2fa22c79c54164265b9434af.zip
Notes
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile14
-rw-r--r--devel/astyle/pkg-descr4
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/