mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
fa6d428fbe
PR: 12886 Submitted by: Don Croyle <croyle@gelemna.ft-wayne.in.us>, maintainer
35 lines
878 B
Makefile
35 lines
878 B
Makefile
# New ports collection makefile for: astyle
|
|
# Version required: 1.10.4
|
|
# Date created: 31 Jan 1999
|
|
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
|
|
#
|
|
# $Id: Makefile,v 1.2 1999/07/22 04:20:45 cpiazza Exp $
|
|
#
|
|
|
|
DISTNAME= astyle_1.10.4_src
|
|
PKGNAME= astyle-1.10.4
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= http://gene.md.huji.ac.il/~tald/astyle/stable/src/ \
|
|
http://www.infonex.com/~dacroyle/freebsd/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= croyle@gelemna.ft-wayne.in.us
|
|
|
|
WRKSRC= ${WRKDIR}/astyle_1.10.4
|
|
|
|
post-extract:
|
|
perl -pi -e 's/\r//' ${WRKSRC}/*
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
|
|
${CP} -p ${FILESDIR}/Makefile ${WRKSRC}/
|
|
|
|
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>
|