aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xdm
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2008-01-02 22:16:54 +0800
committerflz <flz@FreeBSD.org>2008-01-02 22:16:54 +0800
commitbc57d1f3d4b989ea12fb6806a2d22cbe05af4210 (patch)
tree5180b9929a656e988adc3206276a1ef2ecf2a12b /x11/xdm
parent4351a5a0a117ecd04ca21be365bb17a259be78e2 (diff)
downloadfreebsd-ports-graphics-bc57d1f3d4b989ea12fb6806a2d22cbe05af4210.tar.gz
freebsd-ports-graphics-bc57d1f3d4b989ea12fb6806a2d22cbe05af4210.tar.zst
freebsd-ports-graphics-bc57d1f3d4b989ea12fb6806a2d22cbe05af4210.zip
- Fix if-block in Xresources. [1]
- Fix paths in various scripts. [2] PR: ports/117722 [1], ports/117841 [2] Submitted by: Warren Block [1], J.R. Oldroyd [2]
Diffstat (limited to 'x11/xdm')
-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 f0cdff28427..ae0f04ae16e 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 00000000000..79f43ad0815
--- /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