summaryrefslogtreecommitdiff
path: root/x11/login.app/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/login.app/Makefile')
-rw-r--r--x11/login.app/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/x11/login.app/Makefile b/x11/login.app/Makefile
index ae3a175f0131..034002774e0b 100644
--- a/x11/login.app/Makefile
+++ b/x11/login.app/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= login.app
-PORTVERSION= 2.0.0.a4
+PORTVERSION= 2.0.0.a7
CATEGORIES= x11 windowmaker
-MASTER_SITES= http://www.fukt.hk-r.se/~per/login/
-DISTNAME= Login.app-2.0.0-Alpha-4
+MASTER_SITES= http://wm.current.nu/files/Login.app/
+DISTNAME= Login.app-${PORTVERSION:S/.a/-Alpha-/}
MAINTAINER= sobomax@FreeBSD.org
@@ -18,7 +18,14 @@ LIB_DEPENDS= wraster.3:${PORTSDIR}/x11-wm/windowmaker \
USE_X_PREFIX= yes
USE_XPM= yes
+MAKE_ENV= MKDIR="${MKDIR}"
ALL_TARGET= Login
+post-configure:
+ @cd ${WRKSRC} && ${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g ; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g' preferences.h Scripts/Login.user \
+ Scripts/Login.root Scripts/Logout.root Scripts/Startup \
+ Preferences config.h
+
.include <bsd.port.mk>