- Add a new flag PEAR_CATSRC
- While here remove MD5 support Since several months ago, I have seen a lot of FreeBSD maintainers removing the CATEGORY flag from their ports. The problem with that is the packages won?t be installed at the right location anymore. This patch resolves that problem. Thanks to: ale/wen Tested via: exp-run
This commit is contained in:
parent
03b42818c9
commit
efb0e62b92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269632
3 changed files with 8 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= pear
|
||||
PORTVERSION= 1.9.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= mm
|
||||
|
|
|
@ -15,6 +15,12 @@ DIST_SUBDIR= PEAR
|
|||
|
||||
RUN_DEPENDS+= pear:${PORTSDIR}/devel/pear
|
||||
|
||||
.if defined(PEAR_CATSRC)
|
||||
PEARWRKSRC?= ${WRKSRC}/${CATEGORY}
|
||||
.else
|
||||
PEARWRKSRC?= ${WRKSRC}
|
||||
.endif
|
||||
|
||||
.if !defined(USE_PHPIZE)
|
||||
NO_BUILD= yes
|
||||
.endif
|
||||
|
@ -171,7 +177,7 @@ do-install-files: do-install-files-msg
|
|||
@${MKDIR} ${INSTDIR}/${dir}
|
||||
. endfor
|
||||
. for file in ${FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${INSTDIR}/${file}
|
||||
@${INSTALL_DATA} ${PEARWRKSRC}/${file} ${INSTDIR}/${file}
|
||||
. endfor
|
||||
|
||||
do-install-docs: do-install-docs-msg
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
MD5 (pear-1.9.1.tar.bz2) = d057053f4f3cb9380593c17b85feab91
|
||||
SHA256 (pear-1.9.1.tar.bz2) = f1ee28f797ba02ad688e362488efdf7f8993c06b251cab896ecf510cae0e6cec
|
||||
SIZE (pear-1.9.1.tar.bz2) = 325597
|
||||
|
|
Loading…
Reference in a new issue