summaryrefslogtreecommitdiff
path: root/devel/astyle/Makefile
blob: 4ac22eaf30617c95673035d2ff0661330db2117f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:	astyle
# Date created:		31 Jan 1999
# Whom:			Don Croyle <croyle@gelemna.ft-wayne.in.us>
#
# $FreeBSD$
#

PORTNAME=	astyle
PORTVERSION=	1.11.6
CATEGORIES= 	devel textproc
MASTER_SITES=	ftp://astyle.sourceforge.net/pub/astyle/stable/src/\
		http://www.infonex.com/~dacroyle/freebsd/
DISTNAME=	${PORTNAME}_${PORTVERSION}_src
EXTRACT_SUFX=	.tgz

MAINTAINER=	croyle@gelemna.ft-wayne.in.us

WRKSRC=		${WRKDIR}/astyle_1.11.6

ALL_TARGET=	astyle

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

.include <bsd.port.mk>