mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
29469d7e69
- Fix paths in various scripts. [2] PR: ports/117722 [1], ports/117841 [2] Submitted by: Warren Block [1], J.R. Oldroyd [2]
43 lines
1013 B
Makefile
43 lines
1013 B
Makefile
# New ports collection makefile for: xdm
|
|
# Date Created: 17 Feb 2006
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xdm
|
|
PORTVERSION= 1.1.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X.Org X display manager
|
|
|
|
XORG_CAT= app
|
|
USE_XORG= xmu x11 xau xinerama xpm xdmcp xt xext xaw
|
|
CONFIGURE_ARGS+= --with-xdmconfigdir=${EXAMPLESDIR} \
|
|
--with-xdmscriptdir=${EXAMPLESDIR}
|
|
|
|
MAN1= xdm.1
|
|
|
|
CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \
|
|
Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config
|
|
|
|
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/Xstartup.cpp \
|
|
${WRKSRC}/config/Xreset.cpp
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e "s|${EXAMPLESDIR}|${PREFIX}/lib/X11/xdm|" \
|
|
${WRKSRC}/config.h
|
|
|
|
post-install:
|
|
.for f in ${CFFILES}
|
|
${CP} -n ${EXAMPLESDIR}/$f ${PREFIX}/lib/X11/xdm/$f
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|