pkgsrc/devel/astyle/Makefile

31 lines
715 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2012/10/31 11:16:38 asau Exp $
#
DISTNAME= astyle_1.13.6.1
PKGNAME= astyle-1.13.6.1
PKGREVISION= 1
2001-03-15 14:38:58 +01:00
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=astyle/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://astyle.sourceforge.net/
COMMENT= Reindenter and reformatter of C++, C and Java source code
HTMLDIR= ${PREFIX}/share/doc/html/astyle
INSTALLATION_DIRS= bin ${HTMLDIR}
2006-06-06 23:38:34 +02:00
USE_LANGUAGES= c++
.include "../../mk/compiler.mk"
2003-11-05 16:27:41 +01:00
.if !empty(CC_VERSION:Mgcc-2*)
CFLAGS+= -DASTYLE_GCC2
.endif
post-install:
2004-06-12 04:28:46 +02:00
cd ${WRKSRC} && ${INSTALL_DATA} astyle.html \
astyle_release_notes.html license.html ${DESTDIR}${HTMLDIR}
.include "../../mk/bsd.pkg.mk"