1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

PR ports/77594 has been submitted to fix plist, but this case has

been fixed with the upgrade to 1.3.5.

This fixes two other deinstallation problems: pear2 not found and
several sub-directories (e.g. pear-HTML_Select_Common-1.1_3).

Approved by:	maintainer
This commit is contained in:
Thierry Thomas 2005-02-21 18:05:04 +00:00
parent 7503c81af4
commit a324ca4ac2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129504
2 changed files with 5 additions and 2 deletions

View File

@ -109,7 +109,7 @@ do-generate-plist:
for file in ${DOCS}; do echo "%%PORTDOCS%%${LDOCSDIR}/$${file}"; done; \
for file in ${EXAMPLES}; do echo "%%PORTDOCS%%${LEXAMPLESDIR}/$${file}"; done; \
echo "${LPKGREGDIR}/package.xml"; \
for d in ${FILES}; do echo $${d}; done | ${DIRFILTER} | \
for d in ${FILES} ${FILES:H}; do echo $${d}; done | ${DIRFILTER} | \
while read dir; do echo "@dirrm ${LINSTDIR}/$${dir}"; done; \
for d in ${TESTS}; do echo $${d}; done | ${DIRFILTER} | \
while read dir; do echo "@dirrm ${LTESTSDIR}/$${dir}"; done; \

View File

@ -13,7 +13,10 @@ PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
PEAR=${PKG_PREFIX}/bin/pear
PEAR2=${PKG_PREFIX}/bin/pear2
if [ ${PKG_NAME} = "pear-PEAR" ]; then
if [ ${PACKAGE} = "PEAR" ] \
|| [ ${PACKAGE} = "Archive_Tar" ] \
|| [ ${PACKAGE} = "Console_Getopt" ] \
|| [ ${PACKAGE} = "XML_RPC" ]; then
PEAR_INSTALLER=${PEAR}
else
PEAR_INSTALLER=${PEAR2}