diff options
author | asami <asami@FreeBSD.org> | 1997-04-15 16:36:41 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-04-15 16:36:41 +0800 |
commit | f0f417dcc9afbbdb0239be6be749cd63fb422353 (patch) | |
tree | f79e68dcfb5cc6c659df1a3223e986bd99236df3 /Mk | |
parent | 90af7241cc3e88571dfd71dbc7a0cfbe2a8a5985 (diff) | |
download | freebsd-ports-gnome-f0f417dcc9afbbdb0239be6be749cd63fb422353.tar.gz freebsd-ports-gnome-f0f417dcc9afbbdb0239be6be749cd63fb422353.tar.zst freebsd-ports-gnome-f0f417dcc9afbbdb0239be6be749cd63fb422353.zip |
(1) Change comment for USE_X11 to be more explicit about what it
means.
(2) Change MASTER_SITE_GNU etc. to use += instead of ?=, so users can
specify a local mirror in /etc/make.conf and still get the full
fallback in case something is missing.
Submitted by: Narvi <narvi@haldjas.folklore.ee>
(3) Skip port if USE_X11 or USE_IMAKE is defined and /usr/X11R6
doesn't exist.
Submitted by: imp
(4) Add "-" in front of rmdir of ${DISTDIR}/${DIST_SUBDIR} in
distclean target; the directory might not be empty because the
subdir is shared with some other ports' distfiles.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 83cd8046706d..1dd1bd2e1179 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $Id: bsd.port.mk,v 1.253 1997/02/23 13:24:45 asami Exp $ +# $Id: bsd.port.mk,v 1.254 1997/03/06 08:28:15 asami Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -114,7 +114,7 @@ OpenBSD_MAINTAINER= imp@OpenBSD.ORG # RESTRICTED - Port is restricted. Set this string to the reason why. # USE_GMAKE - Says that the port uses gmake. # USE_IMAKE - Says that the port uses imake. -# USE_X11 - Says that the port uses X11. +# USE_X11 - Says that the port uses X11 (i.e., installs in ${X11BASE}). # NO_INSTALL_MANPAGES - For imake ports that don't like the install.man # target. # HAS_CONFIGURE - Says that the port has its own configure script. @@ -478,26 +478,26 @@ ALL_TARGET?= all INSTALL_TARGET?= install # Popular master sites -MASTER_SITE_XCONTRIB?= \ - ftp://ftp.x.org/contrib/${MASTER_SITE_SUBDIR}/ \ - ftp://crl.dec.com/pub/X11/contrib/${MASTER_SITE_SUBDIR}/ +MASTER_SITE_XCONTRIB+= \ + ftp://crl.dec.com/pub/X11/contrib/${MASTER_SITE_SUBDIR}/ \ + ftp://ftp.eu.net/X11/contrib/${MASTER_SITE_SUBDIR}/ -MASTER_SITE_GNU?= \ +MASTER_SITE_GNU+= \ ftp://prep.ai.mit.edu/pub/gnu/${MASTER_SITE_SUBDIR}/ \ ftp://wuarchive.wustl.edu/systems/gnu/${MASTER_SITE_SUBDIR}/ -MASTER_SITE_PERL_CPAN?= \ +MASTER_SITE_PERL_CPAN+= \ ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/${MASTER_SITE_SUBDIR}/ -MASTER_SITE_TEX_CTAN?= \ +MASTER_SITE_TEX_CTAN+= \ ftp://ftp.cdrom.com/pub/tex/ctan/${MASTER_SITE_SUBDIR}/ \ ftp://wuarchive.wustl.edu/packages/TeX/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.funet.fi/pub/TeX/CTAN/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.tex.ac.uk/public/ctan/tex-archive/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.dante.de/tex-archive/${MASTER_SITE_SUBDIR}/ -MASTER_SITE_SUNSITE?= \ +MASTER_SITE_SUNSITE+= \ ftp://sunsite.unc.edu/pub/Linux/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/${MASTER_SITE_SUBDIR}/ \ ftp://ftp.funet.fi/pub/mirrors/sunsite.unc.edu/pub/Linux/${MASTER_SITE_SUBDIR}/ @@ -675,6 +675,8 @@ IGNORE= "does not require Motif" IGNORE= "may not be placed on a CDROM: ${NO_CDROM}" .elif (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE= "is restricted: ${RESTRICTED}" +.elif ((defined(USE_IMAKE) || defined(USE_X11)) && !exists(${X11BASE})) +IGNORE= "uses X11, but ${X11BASE} not found" .elif defined(BROKEN) IGNORE= "is marked as broken: ${BROKEN}" .endif @@ -1235,7 +1237,7 @@ distclean: pre-distclean clean ${RM} -f ${DISTFILES} ${PATCHFILES}; \ fi) .if defined(DIST_SUBDIR) - @${RMDIR} ${_DISTDIR} + -@${RMDIR} ${_DISTDIR} .endif .endif |