aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-12-03 19:56:48 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-12-03 19:56:48 +0800
commit08364eff40a4af134b1a0be066708826acd8208d (patch)
tree5cfd84032e2709a421df04eb200dd56b42203396 /Mk/bsd.sites.mk
parentafcc161ede924fd76cf0dbf46393847ae0e71a40 (diff)
downloadfreebsd-ports-graphics-08364eff40a4af134b1a0be066708826acd8208d.tar.gz
freebsd-ports-graphics-08364eff40a4af134b1a0be066708826acd8208d.tar.zst
freebsd-ports-graphics-08364eff40a4af134b1a0be066708826acd8208d.zip
- Simplifiy GOOGLE_CODE handler
Feature safe: yes
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index c7e761d9887..0ba1232db89 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -585,13 +585,9 @@ MASTER_SITE_GNU_ALPHA+= \
.endif
.if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE)
-.if defined(PROJECTHOST)
+PROJECTHOST?= ${PORTNAME}
MASTER_SITE_GOOGLE_CODE+= \
http://${PROJECTHOST}.googlecode.com/files/
-.else
-MASTER_SITE_GOOGLE_CODE+= \
- http://${PORTNAME}.googlecode.com/files/
-.endif
.endif
.if !defined(IGNORE_MASTER_SITE_HORDE)