diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-23 07:32:36 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-23 07:32:36 +0000 |
commit | 3f7a5b50b3c26cc7a9b23ee740348b7f90073726 (patch) | |
tree | 8fea27850a584f3f97242f410297366b0afe5191 /devel/astyle/Makefile | |
parent | 90a5f73cc7a43f0e73faa83c180c07b0988dd189 (diff) | |
download | ports-3f7a5b50b3c26cc7a9b23ee740348b7f90073726.tar.gz ports-3f7a5b50b3c26cc7a9b23ee740348b7f90073726.zip |
Notes
Diffstat (limited to 'devel/astyle/Makefile')
-rw-r--r-- | devel/astyle/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile index bfef5f8334df..b43d488a5e84 100644 --- a/devel/astyle/Makefile +++ b/devel/astyle/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= astyle -PORTVERSION= 2.06 +PORTVERSION= 3.0.1 CATEGORIES= devel textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_linux @@ -11,23 +11,21 @@ MAINTAINER= lme@FreeBSD.org COMMENT= Source code indenter and formatter for C, C++, C\#, and Java LICENSE= MIT -LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.txt +LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.md -ALL_TARGET= astyle -LDFLAGS+= -s -USES= compiler gmake iconv +USES= compiler dos2unix gmake +ALL_TARGET= astyle +DOS2UNIX_GLOB= *.ini WRKSRC= ${WRKDIR}/astyle/build/${COMPILER_TYPE} -OPTIONS_DEFINE= DOCS - -pre-patch: - @${REINPLACE_CMD} -e 's,\(CFLAGSr.*=.*\),\1 -I${LOCALBASE}/include,' \ - ${WRKSRC}/Makefile +OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/* ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKDIR}/astyle/file/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |