summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gtk2/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-02-15 22:14:44 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-02-15 22:14:44 +0000
commitfba5571d2cf28d2d46daf2d9bb6af814ef0af3a5 (patch)
treedd712250fc2a6035756024947785b7736f57590e /x11-toolkits/py-gtk2/Makefile
parent- Fix ARC2 Buffer Overflow (diff)
Fix installation when NOPORTDOCS is defined. Also, honor EXAMPLESDIR.
Notes
Notes: svn path=/head/; revision=228463
Diffstat (limited to 'x11-toolkits/py-gtk2/Makefile')
-rw-r--r--x11-toolkits/py-gtk2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile
index 8660cd385cab..876df33b5f99 100644
--- a/x11-toolkits/py-gtk2/Makefile
+++ b/x11-toolkits/py-gtk2/Makefile
@@ -58,13 +58,15 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
.endif
-.if !defined(NOPORTDOCS)
post-install:
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
${FIND} ${EXAMPLESDIR} -type d -print | ${XARGS} ${CHMOD} 0555
${FIND} ${EXAMPLESDIR} -type f -print | ${XARGS} ${CHMOD} 0444
+.endif
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MAPPING ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/THREADS ${DOCSDIR}