aboutsummaryrefslogtreecommitdiff
path: root/french/med/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 13:04:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 13:04:58 +0000
commite58f735ddacb9ac9cfcef0b8648abd4854a565ed (patch)
treeceefed0887f81d0f5b3022372b0da85a61051dab /french/med/Makefile
parentebc40130bccfd48012e6f96dd81bf905a2c7f92b (diff)
Notes
Diffstat (limited to 'french/med/Makefile')
-rw-r--r--french/med/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/french/med/Makefile b/french/med/Makefile
index a72a73844553..a4f9fd607ee4 100644
--- a/french/med/Makefile
+++ b/french/med/Makefile
@@ -35,11 +35,16 @@ USE_LDCONFIG= yes
DOC2FIX= . gif html jpg png tests
TST2FIX= c f
+PORTDOCS= *
+PORTEXAMPLES= *
+
pre-configure:
.for ext in am in
. if defined(NOPORTDOCS)
- ${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \
- ${WRKSRC}/Makefile.${ext}
+ ${REINPLACE_CMD} -e '/SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.${ext}
+. endif
+. if defined(NOPORTEXAMPLES)
+ ${REINPLACE_CMD} -e '/SUBDIRS/ s|tests||' ${WRKSRC}/Makefile.${ext}
. endif
. for dd in ${DOC2FIX}
${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = @docdir@|' \