diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-01-29 15:02:06 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-01-29 15:02:06 +0000 |
commit | 84dbaf992b1668c7c355021122d0c2202a614b12 (patch) | |
tree | 5e637a804cd383ed31bc63441a1ed13d6c5a2cea /sysutils/usermin | |
parent | 0298c9b41b6cf75b34ac0c77633f730bd51e17e2 (diff) | |
download | ports-84dbaf992b1668c7c355021122d0c2202a614b12.tar.gz ports-84dbaf992b1668c7c355021122d0c2202a614b12.zip |
Notes
Diffstat (limited to 'sysutils/usermin')
-rw-r--r-- | sysutils/usermin/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile index d0a65bafad6f..db808948ef03 100644 --- a/sysutils/usermin/Makefile +++ b/sysutils/usermin/Makefile @@ -48,10 +48,6 @@ post-patch: | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@" @${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} @${FIND} ${WRKSRC} -name "*.bak" -print | ${XARGS} ${RM} -# we may have 2 levels of empty directories which cause the plist generation -# system to fail - @${FIND} ${WRKSRC} -type d -empty -print | ${XARGS} ${RMDIR} - @${FIND} ${WRKSRC} -type d -empty -print | ${XARGS} ${RMDIR} do-install: @${MKDIR} ${PREFIX}/lib/usermin @@ -65,6 +61,9 @@ do-install: post-install: @cd ${WRKSRC} ; ${FIND} * -type f -o -type l | ${SORT} | ${AWK} \ '{ print "lib/usermin/" $$1 }' > ${WRKDIR}/PLIST.lib-usermin + @cd ${WRKSRC} ; ${FIND} * -type d -empty | ${SORT} -r | ${AWK} \ + '{ print "lib/usermin/" $$1 }' | ${SED} -e 's#^#@exec mkdir -p %D/#g' \ + >> ${WRKDIR}/PLIST.lib-usermin @cd ${WRKSRC} ; ${FIND} * -type d | ${SORT} -r | ${AWK} \ '{ print "lib/usermin/" $$1 }' | ${SED} -e 's/^/@dirrm /g' \ >> ${WRKDIR}/PLIST.lib-usermin |