Cope with a bug in CURRENT's bsd.*.mk infrastructure, that the

beforeinstall target is somehow executed _after_ the realinstall
target.
This commit is contained in:
Akinori MUSHA 2002-06-12 10:00:11 +00:00
parent a282c0ee64
commit 7cb16a9d07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61150
4 changed files with 32 additions and 0 deletions

View file

@ -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; \

View file

@ -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; \

View file

@ -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; \

View file

@ -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; \