summaryrefslogblamecommitdiff
path: root/devel/astyle/Makefile
blob: 5c2027666e2266dc53d16f5a858fb3eca98eacbc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                   
                                                       
 
           

 
                      
                      
                              


                                          

                                 
                                                                           
 

                              
                                      
 
                      
 
           
                                                         
                        

                                                   
      
 
                      
# New ports collection makefile for:	astyle
# Date created:		31 Jan 1999
# Whom:			Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#

PORTNAME=	astyle
PORTVERSION=	1.15.3
CATEGORIES=	devel textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
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}

ALL_TARGET=	astyle

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif

.include <bsd.port.mk>