aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-adblock
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-07-31 06:22:50 +0800
committersat <sat@FreeBSD.org>2006-07-31 06:22:50 +0800
commit83eeee0cafdba0fdfd05f4e89059a3f125ada5b7 (patch)
treeac477ed7f2ae2c90b8dd13244b036fa80f97fe07 /www/xpi-adblock
parentec62137d1e959ad5384c4c650ef247cf43328495 (diff)
downloadfreebsd-ports-gnome-83eeee0cafdba0fdfd05f4e89059a3f125ada5b7.tar.gz
freebsd-ports-gnome-83eeee0cafdba0fdfd05f4e89059a3f125ada5b7.tar.zst
freebsd-ports-gnome-83eeee0cafdba0fdfd05f4e89059a3f125ada5b7.zip
- Move my csme.ru mirrors from Makefile.xpi to bsd.sites.mk
Diffstat (limited to 'www/xpi-adblock')
-rw-r--r--www/xpi-adblock/Makefile.xpi13
1 files changed, 4 insertions, 9 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi
index 234ce3dc00f3..dde0175c477e 100644
--- a/www/xpi-adblock/Makefile.xpi
+++ b/www/xpi-adblock/Makefile.xpi
@@ -65,15 +65,10 @@
# xpi ports do not depend on their master applications. You can install an
# extension before the app and run relink when the app is present.
-.if !defined(IGNORE_MASTER_SITE_CSME)
-MASTER_SITE_CSME+= \
- http://bsd1.csme.ru/myports/ \
- http://bsd2.csme.ru/myports/ \
- http://bsd3.csme.ru/myports/
-.endif
-
+.ifndef MASTER_SITES
MASTER_SITES?= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR?= extensions/${XPI_DISTNAME}
+.endif
PKGNAMEPREFIX?= xpi-
EXTRACT_SUFX?= .xpi
DISTNAME?= ${XPI_DISTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -167,9 +162,9 @@ do-install:
then ${CP} -p ${FILESDIR}/chrome.manifest ${_TD_FULL}/ ; fi
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${_TD_FULL}/
@${CHMOD} -R a+rX,go-w ${_TD_FULL}/
- @for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir ${_Q} ; }
+ @for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir/ ${_Q} ; }
@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
- @${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir ${_Q}; }' ${_A}
+ @${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ; { ${RM} -f $$_dir/${XPI_ID} ; }' ${_A}
@${ECHO_CMD} '@unexec rmdir ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
.endif