summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/slim/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/slim/Makefile b/x11/slim/Makefile
index 52209467bebe..657d41f504b5 100644
--- a/x11/slim/Makefile
+++ b/x11/slim/Makefile
@@ -8,8 +8,9 @@
PORTNAME= slim
PORTVERSION= 1.2.6
CATEGORIES= x11
-MASTER_SITES= http://download.berlios.de/slim/ \
+MASTER_SITES= ${MASTER_SITE_BERLIOS} \
http://depot.fsck.ch/mirror/distfiles/
+MASTER_SITE_SUBDIR=slim
MAINTAINER= ports@fsck.ch
COMMENT= Graphical login manager for X11, derived from Login.app
@@ -27,6 +28,12 @@ MAN1= slim.1
MAKEFILE= Makefile.freebsd
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+ BROKEN= does not compile on FreeBSD 4.x
+.endif
+
pre-build:
@${REINPLACE_CMD} \
-e 's|%%X11BASE%%|${X11BASE}|g' \
@@ -48,4 +55,4 @@ post-install:
${CP} -p ${LOCALBASE}/etc/slim.conf.sample ${LOCALBASE}/etc/slim.conf ; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>