mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Grab source from mirror site (crl.dec.com)'s contrib/applications instead
of R6untarred of ftp.x.org, these are more recent (although only comments have changed so far). Removed the fetch: target (which I assume was there so that it will always use ftp.freebsd.org even if MASTER_SITE_OVERRIDE wasn't set).
This commit is contained in:
parent
713d629c8f
commit
a376b9dfd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1066
@ -7,34 +7,9 @@
|
||||
#
|
||||
|
||||
USE_IMAKE= yes
|
||||
DISTNAME= pixmap
|
||||
PKGNAME= pixmap-2.6
|
||||
DISTNAME= pixmap2.6
|
||||
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
||||
MASTER_SITES= ftp://ftp.x.org/pub/R6untarred/contrib/programs/
|
||||
MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/applications/pixmap/
|
||||
WRKSRC= ${WRKDIR}/pixmap
|
||||
|
||||
.if !defined(MASTER_SITE_OVERRIDE)
|
||||
|
||||
fetch: pre-fetch
|
||||
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
|
||||
@(cd ${DISTDIR}; \
|
||||
for file in ${DISTFILES}; do \
|
||||
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
|
||||
echo ">> $$file doesn't seem to exist on this system."; \
|
||||
echo ">> Attempting to fetch it from a master site."; \
|
||||
for site in ${MASTER_SITES}; do \
|
||||
if ${NCFTP} -c ${NCFTPFLAGS} $${site}$${file} >$$file; then \
|
||||
break; \
|
||||
fi \
|
||||
done; \
|
||||
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
|
||||
echo ">> Couldn't fetch it - please try to retreive this";\
|
||||
echo ">> port manually into ${DISTDIR} and try again."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi \
|
||||
done)
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@(cd ${WRKDIR}; mv pub/R6untarred/contrib/programs/pixmap .)
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user