aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-01-02 14:16:54 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-01-02 14:16:54 +0000
commit29469d7e69f1705979e9033db2f15bacb971417b (patch)
tree4b2a2de3607770f610a2433bc6665096cacd93d0
parent682d2ca94336cd06bc0652fae674da2cbf812504 (diff)
downloadports-29469d7e69f1705979e9033db2f15bacb971417b.tar.gz
ports-29469d7e69f1705979e9033db2f15bacb971417b.zip
Notes
-rw-r--r--x11/xdm/Makefile8
-rw-r--r--x11/xdm/files/patch-config_Xresources.cpp21
2 files changed, 26 insertions, 3 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index f0cdff28427c..ae0f04ae16ea 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xdm
PORTVERSION= 1.1.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
@@ -26,11 +26,13 @@ CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \
post-patch:
@${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \
-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
- ${WRKSRC}/config/xdm-config.cpp
+ ${WRKSRC}/config/xdm-config.cpp \
+ ${WRKSRC}/config/Xstartup.cpp \
+ ${WRKSRC}/config/Xreset.cpp
post-configure:
@${REINPLACE_CMD} -e "s|${EXAMPLESDIR}|${PREFIX}/lib/X11/xdm|" \
- ${WRKSRC}/config.h
+ ${WRKSRC}/config.h
post-install:
.for f in ${CFFILES}
diff --git a/x11/xdm/files/patch-config_Xresources.cpp b/x11/xdm/files/patch-config_Xresources.cpp
new file mode 100644
index 000000000000..79f43ad08150
--- /dev/null
+++ b/x11/xdm/files/patch-config_Xresources.cpp
@@ -0,0 +1,21 @@
+diff --git a/config/Xresources.cpp b/config/Xresources.cpp
+index a98287b..8c04efc 100644
+--- config/Xresources.cpp.orig
++++ config/Xresources.cpp
+@@ -36,6 +36,16 @@ xlogin*greetFace: Serif-24:bold:italic
+ xlogin*face: Helvetica-18
+ xlogin*promptFace: Helvetica-18:bold
+ xlogin*failFace: Helvetica-18:bold
++XHASHelse
++xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
++xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
++xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
++xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
++xlogin*greetFace: Serif-18:bold:italic
++xlogin*face: Helvetica-12
++xlogin*promptFace: Helvetica-12:bold
++xlogin*failFace: Helvetica-14:bold
++XHASHendif
+
+ XHASHifdef COLOR
+ xlogin*borderWidth: 1