aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cc65
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-08-18 09:18:04 +0800
committerstas <stas@FreeBSD.org>2010-08-18 09:18:04 +0800
commitf36c311268004eb2a2bb2b7e3c06b8dfbd91b612 (patch)
treed4efcac81ef2aee5e6a95dc6dc2ab513101d755c /devel/cc65
parent70678e0746c8d7a655786be3f315f8fef36f5cb3 (diff)
downloadfreebsd-ports-gnome-f36c311268004eb2a2bb2b7e3c06b8dfbd91b612.tar.gz
freebsd-ports-gnome-f36c311268004eb2a2bb2b7e3c06b8dfbd91b612.tar.zst
freebsd-ports-gnome-f36c311268004eb2a2bb2b7e3c06b8dfbd91b612.zip
- Fix NOPORTDOCS case.
Spotted by: QAT
Diffstat (limited to 'devel/cc65')
-rw-r--r--devel/cc65/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/cc65/Makefile b/devel/cc65/Makefile
index 5c86976143c8..4c324d1add01 100644
--- a/devel/cc65/Makefile
+++ b/devel/cc65/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cc65
PORTVERSION= 2.13.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.musoftware.de/pub/uz/cc65/ \
http://www.funet.fi/pub/cbm/programming/cc65/ \
@@ -40,6 +41,8 @@ post-patch:
@${REINPLACE_CMD} -E -e "s,(install:.*)install-docs(.*)$$,\1\2," \
-e '/\(MKDIR\)[[:space:]]+\$$\(CC65DOC\)/d' \
${WRKSRC}/make/gcc.mak
+ @${REINPLACE_CMD} -E -e "s,^(docdir[[:space:]]*=).*,\1," \
+ -e "s,^(CC65_DOC[[:space:]]*=).*,\1," ${WRKSRC}/make/gcc.mak
.endif
post-install: