1999-04-03 03:26:18 +02:00
|
|
|
# New ports collection makefile for: astyle
|
|
|
|
# Date created: 31 Jan 1999
|
2000-05-21 13:52:06 +02:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1999-04-03 03:26:18 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-04-03 03:26:18 +02:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= astyle
|
2002-10-26 14:58:12 +02:00
|
|
|
PORTVERSION= 1.15.3
|
2005-05-07 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2001-02-05 15:34:42 +01:00
|
|
|
CATEGORIES= devel textproc
|
2002-01-17 16:19:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2002-10-26 14:58:12 +02:00
|
|
|
|
2005-10-11 23:08:29 +02:00
|
|
|
MAINTAINER= andrew.nau.ua@gmail.com
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A reindenter and reformatter of C++, C and Java source code
|
2002-10-26 14:58:12 +02:00
|
|
|
|
2002-01-17 16:19:23 +01:00
|
|
|
USE_ZIP= yes
|
|
|
|
EXTRACT_BEFORE_ARGS= -q -aa
|
2002-10-26 14:58:12 +02:00
|
|
|
EXTRACT_AFTER_ARGS= -d ${DISTNAME}
|
2004-08-16 17:27:57 +02:00
|
|
|
CFLAGS+= "-fpermissive"
|
1999-10-09 00:50:19 +02:00
|
|
|
ALL_TARGET= astyle
|
2005-04-19 23:38:03 +02:00
|
|
|
MAKE_ARGS= CPPFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/astyle
|
2005-05-07 22:36:56 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-04-19 23:38:03 +02:00
|
|
|
PORTDOCS= astyle.html astyle_release_notes.html license.html
|
2005-05-07 22:36:56 +02:00
|
|
|
.endif
|
2004-08-16 04:33:05 +02:00
|
|
|
|
1999-04-03 03:26:18 +02:00
|
|
|
do-install:
|
2002-01-17 16:19:23 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin
|
1999-08-01 02:43:46 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-17 16:19:23 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
1999-08-01 02:43:46 +02:00
|
|
|
.endif
|
1999-04-03 03:26:18 +02:00
|
|
|
|
2005-05-07 22:36:56 +02:00
|
|
|
.include <bsd.port.mk>
|