aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bf2c
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2010-06-22 01:01:36 +0800
committerrene <rene@FreeBSD.org>2010-06-22 01:01:36 +0800
commit3a7e1f543fa2dc98cf7ab8dfbb27ce6ecbabd7a4 (patch)
tree64288f6f71a028c9dca48ceb6c00d481eee6a9e9 /lang/bf2c
parent330dbf83628a1e5330b09909f1a171be794255a1 (diff)
downloadfreebsd-ports-gnome-3a7e1f543fa2dc98cf7ab8dfbb27ce6ecbabd7a4.tar.gz
freebsd-ports-gnome-3a7e1f543fa2dc98cf7ab8dfbb27ce6ecbabd7a4.tar.zst
freebsd-ports-gnome-3a7e1f543fa2dc98cf7ab8dfbb27ce6ecbabd7a4.zip
* 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
Diffstat (limited to 'lang/bf2c')
-rw-r--r--lang/bf2c/Makefile4
-rw-r--r--lang/bf2c/pkg-plist1
2 files changed, 1 insertions, 4 deletions
diff --git a/lang/bf2c/Makefile b/lang/bf2c/Makefile
index 153c42e157bf..8f0de959e990 100644
--- a/lang/bf2c/Makefile
+++ b/lang/bf2c/Makefile
@@ -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
diff --git a/lang/bf2c/pkg-plist b/lang/bf2c/pkg-plist
index 257b82faaf64..0420e9aa7924 100644
--- a/lang/bf2c/pkg-plist
+++ b/lang/bf2c/pkg-plist
@@ -1,4 +1,3 @@
bin/bf2c
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%