freebsd-ports/devel/astyle/Makefile

39 lines
886 B
Makefile
Raw Normal View History

# New ports collection makefile for: astyle
# Date created: 31 Jan 1999
# Whom: Don Croyle <croyle@gelemna.org>
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-11 23:30:15 +02:00
PORTNAME= astyle
PORTVERSION= 1.15.3
PORTREVISION= 1
2001-02-05 15:34:42 +01:00
CATEGORIES= devel textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
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
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -aa
EXTRACT_AFTER_ARGS= -d ${DISTNAME}
CFLAGS+= "-fpermissive"
ALL_TARGET= astyle
MAKE_ARGS= CPPFLAGS="${CXXFLAGS}"
PLIST_FILES= bin/astyle
.if !defined(NOPORTDOCS)
PORTDOCS= astyle.html astyle_release_notes.html license.html
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>