mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Put common code for PEAR channels to devel/pear/bsd.pear.channel.mk
This commit is contained in:
parent
5e793f428d
commit
ae0e665ce2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277522
3 changed files with 39 additions and 44 deletions
|
@ -8,29 +8,13 @@
|
|||
PORTNAME= pear-channel-horde
|
||||
PORTVERSION= 20110304
|
||||
CATEGORIES= devel www pear
|
||||
MASTER_SITES= #no master sites
|
||||
DISTFILES= #no distfiles
|
||||
|
||||
MAINTAINER= mm@FreeBSD.org
|
||||
COMMENT= PEAR Channel pear.horde.org
|
||||
COMMENT= PEAR channel ${PEAR_CHANNEL_HOST}
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
PEAR_CHANNEL_HOST= pear.horde.org
|
||||
PEAR_CHANNEL_ALIAS= horde
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
LPEARDIR?= share/pear
|
||||
|
||||
PLIST_FILES= ${LPEARDIR}/.channels/.alias/horde.txt \
|
||||
${LPEARDIR}/.channels/pear.horde.org.reg \
|
||||
"@exec ${MKDIR} %D/${LPEARDIR}/.registry/.channel.pear.horde.org"
|
||||
PLIST_DIRS= ${LPEARDIR}/.registry/.channel.pear.horde.org
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${LPEARDIR}/.registry/.channel.pear.horde.org
|
||||
@${INSTALL_DATA} ${FILESDIR}/pear.horde.org.reg \
|
||||
${PREFIX}/${LPEARDIR}/.channels/pear.horde.org.reg
|
||||
@${ECHO_CMD} -n pear.horde.org > \
|
||||
${PREFIX}/${LPEARDIR}/.channels/.alias/horde.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear/bsd.pear.channel.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -8,29 +8,13 @@
|
|||
PORTNAME= pear-channel-phpunit
|
||||
PORTVERSION= 20110327
|
||||
CATEGORIES= devel www pear
|
||||
MASTER_SITES= #no master sites
|
||||
DISTFILES= #no distfiles
|
||||
|
||||
MAINTAINER= mm@FreeBSD.org
|
||||
COMMENT= PEAR Channel pear.phpunit.de
|
||||
COMMENT= PEAR channel ${PEAR_CHANNEL_HOST}
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
PEAR_CHANNEL_HOST= pear.phpunit.de
|
||||
PEAR_CHANNEL_ALIAS= phpunit
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
LPEARDIR?= share/pear
|
||||
|
||||
PLIST_FILES= ${LPEARDIR}/.channels/.alias/phpunit.txt \
|
||||
${LPEARDIR}/.channels/pear.phpunit.de.reg \
|
||||
"@exec ${MKDIR} %D/${LPEARDIR}/.registry/.channel.pear.phpunit.de"
|
||||
PLIST_DIRS= ${LPEARDIR}/.registry/.channel.pear.phpunit.de
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${LPEARDIR}/.registry/.channel.pear.phpunit.de
|
||||
@${INSTALL_DATA} ${FILESDIR}/pear.phpunit.de.reg \
|
||||
${PREFIX}/${LPEARDIR}/.channels/pear.phpunit.de.reg
|
||||
@${ECHO_CMD} -n pear.phpunit.de > \
|
||||
${PREFIX}/${LPEARDIR}/.channels/.alias/phpunit.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear/bsd.pear.channel.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
27
devel/pear/bsd.pear.channel.mk
Normal file
27
devel/pear/bsd.pear.channel.mk
Normal file
|
@ -0,0 +1,27 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
# Common code for PEAR channels
|
||||
|
||||
MASTER_SITES?= #no master sites
|
||||
DISTFILES?= #no distfiles
|
||||
|
||||
BUILD_DEPENDS?= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
RUN_DEPENDS?= ${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
|
||||
|
||||
NO_BUILD?= yes
|
||||
|
||||
LPEARDIR?= share/pear
|
||||
PEAR_CHANNEL_REG?= ${FILESDIR}/${PEAR_CHANNEL_HOST}.reg
|
||||
|
||||
PLIST_FILES= ${LPEARDIR}/.channels/.alias/${PEAR_CHANNEL_ALIAS}.txt \
|
||||
${LPEARDIR}/.channels/${PEAR_CHANNEL_HOST}.reg \
|
||||
"@exec ${MKDIR} %D/${LPEARDIR}/.registry/.channel.${PEAR_CHANNEL_HOST}"
|
||||
PLIST_DIRS= ${LPEARDIR}/.registry/.channel.${PEAR_CHANNEL_HOST}
|
||||
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${LPEARDIR}/.registry/.channel.${PEAR_CHANNEL_HOST}
|
||||
@${INSTALL_DATA} ${PEAR_CHANNEL_REG} \
|
||||
${PREFIX}/${LPEARDIR}/.channels/
|
||||
@${ECHO_CMD} -n ${PEAR_CHANNEL_HOST} > \
|
||||
${PREFIX}/${LPEARDIR}/.channels/.alias/${PEAR_CHANNEL_ALIAS}.txt
|
Loading…
Add table
Reference in a new issue