#
PORTNAME= astyle
PORTVERSION= 1.23
PORTVERSION= 1.24
CATEGORIES= devel textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_linux
MAKE_ARGS+= CFLAGS="${CFLAGS}"
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/astyle/buildgcc
WRKSRC= ${WRKDIR}/astyle/build/gcc
pre-patch:
${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../bin/astyle ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.html ${DOCSDIR}
MD5 (astyle_1.23_linux.tar.gz) = 92945aa2831cb14e38da5e1b8665657e
MD5 (astyle_1.24_linux.tar.gz) = 51b138d551d9b2fff5de726f7db85be8
SHA256 (astyle_1.23_linux.tar.gz) = f11b4467e0f42f968a23a36a1849cf885e6f0193b563908da53903248dcccb21
SHA256 (astyle_1.24_linux.tar.gz) = 41b8825ab186e517182627a154762ff0d2084228100e29c6012cc98f6774a25a
SIZE (astyle_1.23_linux.tar.gz) = 101917
SIZE (astyle_1.24_linux.tar.gz) = 126791