aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-clients/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-clients/Makefile')
-rw-r--r--x11/XFree86-4-clients/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile
index c7a03e63618d..60ff619c673c 100644
--- a/x11/XFree86-4-clients/Makefile
+++ b/x11/XFree86-4-clients/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clients
PORTVERSION= 4.4.0
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -21,6 +22,7 @@ COMMENT= XFree86-4 client programs and related files
CONFLICTS= xorg-clients-*
+RUN_DEPENDS= xterm-static:${PORTSDIR}/x11/xterm
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
expat.5:${PORTSDIR}/textproc/expat2 \
Xcursor.1:${PORTSDIR}/x11/XFree86-4-libraries \
@@ -40,6 +42,7 @@ XINSTALL_MAN_DIRS= programs
.for pf in patch-bdftruncate.pl patch-ucs2any.pl \
patch-programs::fonttosfnt::read.c \
+ patch-programs::Imakefile \
patch-programs::xdm::Imakefile \
patch-programs::xdm::session.c \
patch-programs::xdm::socket.c
@@ -68,15 +71,21 @@ pre-everything::
@${ECHO_MSG} "setuid. If you want to do this, hit Ctrl-C now and use \"make WITH_SETUID_LUIT=yes\""
.endif
-.if defined(WITH_SETUID_LUIT)
post-install:
+ @${LN} -sf ${X11BASE}/bin/resize-static ${X11BASE}/bin/resize
+ @${LN} -sf ${X11BASE}/bin/xterm-static ${X11BASE}/bin/xterm
+ @${LN} -sf ${X11BASE}/bin/uxterm-static ${X11BASE}/bin/uxterm
+ @${LN} -sf ${X11BASE}/lib/X11/app-defaults/UXTerm-static \
+ ${X11BASE}/lib/X11/app-defaults/UXTerm
+ @${LN} -sf ${X11BASE}/lib/X11/app-defaults/XTerm-static \
+ ${X11BASE}/lib/X11/app-defaults/XTerm
+ @${LN} -sf ${X11BASE}/lib/X11/app-defaults/XTerm-color-static \
+ ${X11BASE}/lib/X11/app-defaults/XTerm-color
+.if defined(WITH_SETUID_LUIT)
${CHOWN} root:wheel ${PREFIX}/bin/luit
${CHMOD} 04711 ${PREFIX}/bin/luit
- @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.else
-post-install:
- @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
+ @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.pre.mk>