* Fix package list by not defining LICENSE_FILE explicitly

(bsd.license.mk does not like the filename "LICENSE"), also remove a copy
from DOCSDIR
* Simplify a REINPLACE_CMD

Approved by:	tabthorpe (mentor)
Feature safe:	yes
This commit is contained in:
Rene Ladan 2010-06-21 17:01:36 +00:00
parent a6ce5eb084
commit f6a9ca67c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256795
2 changed files with 1 additions and 4 deletions

View file

@ -14,12 +14,11 @@ MAINTAINER= rene@FreeBSD.org
COMMENT= Optimizing BrainF*ck to C compiler
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GMAKE=yes
post-patch:
@${REINPLACE_CMD} -e 's,^CC=.*$$,CC=${CXX} ${CXXFLAGS:C/-Werror//g},' \
@${REINPLACE_CMD} -e 's,-Werror,,' \
${WRKSRC}/Makefile
do-install:
@ -28,7 +27,6 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

View file

@ -1,4 +1,3 @@
bin/bf2c
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%