aboutsummaryrefslogtreecommitdiff
path: root/lang/treecc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/treecc')
-rw-r--r--lang/treecc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/treecc/Makefile b/lang/treecc/Makefile
index 6a046bc9c853..a69482ef08c9 100644
--- a/lang/treecc/Makefile
+++ b/lang/treecc/Makefile
@@ -19,6 +19,10 @@ USE_AUTOMAKE= yes
USE_BISON= yes
MAN1= treecc.1
+pre-patch:
+ @${PERL} -pi -e 's|etc doc tests examples|etc doc|g ;' \
+ ${WRKSRC}/Makefile.*
+
post-install:
@${LN} -sf treecc ${PREFIX}/bin/${DISTNAME}