1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Remove unused and broken new-plist target

Modify the automatic plist to not generate the @dirrm
This commit is contained in:
Baptiste Daroussin 2014-10-20 20:36:39 +00:00
parent 5c9f71add3
commit f8b75b5619
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371301

View File

@ -189,10 +189,7 @@ pre-install: linux-rpm-generate-plist
. if !target(linux-rpm-generate-plist)
linux-rpm-generate-plist:
cd ${WRKSRC} && \
${FIND} * ! -path "stage/*" ! -type d | ${SORT} > ${PLIST} && \
${FIND} * ! -path "stage*" -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs
@${GREP} '^@dirrm' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SED} 's:^@dirrmtry:@dirrm:g' | ${SORT} > ${PLIST}.shared-dirs
@${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST}
${FIND} * ! -path "stage/*" ! -type d | ${SORT} > ${PLIST}
. endif
. endif
@ -209,14 +206,4 @@ do-install:
cd ${WRKSRC} && ${FIND} * ! -path "stage*" -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \;
cd ${WRKSRC} && ${FIND} * ! -path "stage/*" ! -type d | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX}
. endif
. if !target(new-plist)
new-plist: build
@${RM} -f ${PLIST}.new
@cd ${WRKSRC} && \
${FIND} * ! -path "stage/*" ! -type d | ${SORT} > ${PLIST}.new; \
${FIND} -d * ! -path "stage*" -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \
done
. endif
.endif