summaryrefslogtreecommitdiff
path: root/textproc/astyle/Makefile
blob: b79742166427fae93ebdced6d251f9746723c6ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.1.1.1 2001/03/15 13:06:40 hubertf Exp $
#

DISTNAME=	astyle_1.13.6.1
PKGNAME=	astyle-1.13.6.1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=astyle/}
EXTRACT_SUFX=	.zip

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://astyle.sourceforge.net/
COMMENT=	reindenter and reformatter of C++, C and Java source code

HTMLDIR=	${PREFIX}/share/doc/html/astyle

post-extract:
	${MV} -f ${WRKSRC}/makefile ${WRKSRC}/Makefile

post-install:
	${INSTALL_DATA_DIR} ${HTMLDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} astyle.html astyle_release_notes.html\
								 license.html ${HTMLDIR}

.include "../../mk/bsd.pkg.mk"