- Fix the permission of bin/bnfc, binary executable should use INSTALL_PROGRAM
- NOPORTDOCS shoule not apply to things in EXAMPLESDIR - We can use bsd.port.mk in this port PR: 110852 Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org> Approved by: maintainer
This commit is contained in:
parent
108a8c42e4
commit
bd08ec305a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188457
4 changed files with 60 additions and 60 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= bnfc
|
||||
PORTVERSION= 2.3b
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.cs.chalmers.se/~markus/BNFC/ \
|
||||
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/komp/current/resources/
|
||||
|
@ -20,18 +21,17 @@ BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
|||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/bnfc ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${RM} -f ${WRKSRC}/examples/.cvsignore
|
||||
${RM} -f ${WRKSRC}/examples/haskell-core/.cvsignore
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${CP} -pR ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/LBNF-report.tex ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
bin/bnfc
|
||||
%%EXAMPLESDIR%%/C4.cf
|
||||
%%EXAMPLESDIR%%/JavaletteLight.cf
|
||||
%%EXAMPLESDIR%%/OCL.cf
|
||||
%%EXAMPLESDIR%%/Prolog.cf
|
||||
%%EXAMPLESDIR%%/fstStudio.cf
|
||||
%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/Core.cf
|
||||
%%EXAMPLESDIR%%/haskell-core/Hello.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/ParCore.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/README
|
||||
%%EXAMPLESDIR%%/haskell-core/TopCore.hs
|
||||
%%EXAMPLESDIR%%/haskell-core/notes.txt
|
||||
%%EXAMPLESDIR%%/koe.jll
|
||||
%%EXAMPLESDIR%%/koe2.c
|
||||
%%EXAMPLESDIR%%/multi/Arithm.cf
|
||||
%%EXAMPLESDIR%%/multi/TestArithm.hs
|
||||
%%EXAMPLESDIR%%/multi/types/Types.cf
|
||||
%%EXAMPLESDIR%%/multi/types/ex.old
|
||||
%%EXAMPLESDIR%%/prolog.pl
|
||||
%%EXAMPLESDIR%%/small.pl
|
||||
@dirrm %%EXAMPLESDIR%%/multi/types
|
||||
@dirrm %%EXAMPLESDIR%%/multi
|
||||
@dirrm %%EXAMPLESDIR%%/haskell-core
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/C4.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/JavaletteLight.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/OCL.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/Prolog.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/fstStudio.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Core.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Hello.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/ParCore.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/TopCore.hs
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/notes.txt
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/koe.jll
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/koe2.c
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/Arithm.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/TestArithm.hs
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/Types.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/ex.old
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/prolog.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/small.pl
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi/types
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/haskell-core
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= bnfc
|
||||
PORTVERSION= 2.3b
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.cs.chalmers.se/~markus/BNFC/ \
|
||||
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/komp/current/resources/
|
||||
|
@ -20,18 +21,17 @@ BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
|||
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/bnfc ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${RM} -f ${WRKSRC}/examples/.cvsignore
|
||||
${RM} -f ${WRKSRC}/examples/haskell-core/.cvsignore
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${CP} -pR ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/LBNF-report.tex ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
bin/bnfc
|
||||
%%EXAMPLESDIR%%/C4.cf
|
||||
%%EXAMPLESDIR%%/JavaletteLight.cf
|
||||
%%EXAMPLESDIR%%/OCL.cf
|
||||
%%EXAMPLESDIR%%/Prolog.cf
|
||||
%%EXAMPLESDIR%%/fstStudio.cf
|
||||
%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/Core.cf
|
||||
%%EXAMPLESDIR%%/haskell-core/Hello.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/ParCore.hcr
|
||||
%%EXAMPLESDIR%%/haskell-core/README
|
||||
%%EXAMPLESDIR%%/haskell-core/TopCore.hs
|
||||
%%EXAMPLESDIR%%/haskell-core/notes.txt
|
||||
%%EXAMPLESDIR%%/koe.jll
|
||||
%%EXAMPLESDIR%%/koe2.c
|
||||
%%EXAMPLESDIR%%/multi/Arithm.cf
|
||||
%%EXAMPLESDIR%%/multi/TestArithm.hs
|
||||
%%EXAMPLESDIR%%/multi/types/Types.cf
|
||||
%%EXAMPLESDIR%%/multi/types/ex.old
|
||||
%%EXAMPLESDIR%%/prolog.pl
|
||||
%%EXAMPLESDIR%%/small.pl
|
||||
@dirrm %%EXAMPLESDIR%%/multi/types
|
||||
@dirrm %%EXAMPLESDIR%%/multi
|
||||
@dirrm %%EXAMPLESDIR%%/haskell-core
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/C4.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/JavaletteLight.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/OCL.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/Prolog.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/fstStudio.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Core.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/Hello.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/ParCore.hcr
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/TopCore.hs
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/haskell-core/notes.txt
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/koe.jll
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/koe2.c
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/Arithm.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/TestArithm.hs
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/Types.cf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/multi/types/ex.old
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/prolog.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/small.pl
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi/types
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/multi
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/haskell-core
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue