diff options
Diffstat (limited to 'ports-mgmt/portupgrade/Makefile')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 74e66937e113..fce5dd56c23e 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -59,6 +59,14 @@ INSTALL_TARGET+= install-doc RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18 .endif +pre-install: +.if !defined(NOPORTDOCS) +# Cope with a bug in CURRENT's bsd.*.mk infrastructure + ${MKDIR} ${PREFIX}/share/examples/pkgtools/bash + ${MKDIR} ${PREFIX}/share/examples/pkgtools/tcsh + ${MKDIR} ${PREFIX}/share/zsh/site-functions +.endif + post-install: if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \ ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \ |