mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- Deinstall RUBY_DOCDIR as well
PR: ports/101347 Submitted by: maintainer (Stanislav Sedov)
This commit is contained in:
parent
8e2221bb17
commit
7d97341be0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169744
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= programmingruby
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang ruby
|
||||
MASTER_SITES= http://dev.rubycentral.com/downloads/files/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -24,12 +25,17 @@ RUBY_NO_RUN_DEPENDS= yes
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
DOCSDIR= ${RUBY_MODDOCDIR}
|
||||
PORTDOCS= *
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
@${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${RUBY_MODDOCDIR}
|
||||
@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
||||
@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
|
||||
@${FIND} -d ${RUBY_MODDOCDIR}/ -type f | \
|
||||
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} -d ${RUBY_MODDOCDIR}/ -type d | \
|
||||
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir ${RUBY_DOCDIR} 2>/dev/null || true" \
|
||||
>> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +0,0 @@
|
||||
@dirrmtry %%RUBY_DOCDIR%%
|
Loading…
Reference in New Issue
Block a user