2007-05-19 22:36:56 +02:00
|
|
|
# New ports collection makefile for: xdm
|
|
|
|
# Date Created: 17 Feb 2006
|
|
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xdm
|
2009-01-23 17:28:36 +01:00
|
|
|
PORTVERSION= 1.1.8
|
2009-08-12 15:33:27 +02:00
|
|
|
PORTREVISION= 2
|
2007-05-19 22:36:56 +02:00
|
|
|
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
|
2007-09-13 21:45:08 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xdmconfigdir=${EXAMPLESDIR} \
|
|
|
|
--with-xdmscriptdir=${EXAMPLESDIR}
|
2007-05-19 22:36:56 +02:00
|
|
|
|
|
|
|
MAN1= xdm.1
|
|
|
|
|
2007-07-02 19:35:13 +02:00
|
|
|
CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \
|
|
|
|
Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config
|
|
|
|
|
2007-10-09 21:26:51 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \
|
|
|
|
-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
|
2008-01-02 15:16:54 +01:00
|
|
|
${WRKSRC}/config/xdm-config.cpp \
|
|
|
|
${WRKSRC}/config/Xstartup.cpp \
|
|
|
|
${WRKSRC}/config/Xreset.cpp
|
2009-01-23 17:28:36 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|@DESTDIR@||" ${WRKSRC}/Makefile.in
|
2007-10-09 21:26:51 +02:00
|
|
|
|
2007-10-29 16:04:44 +01:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e "s|${EXAMPLESDIR}|${PREFIX}/lib/X11/xdm|" \
|
2008-01-02 15:16:54 +01:00
|
|
|
${WRKSRC}/config.h
|
2007-10-29 16:04:44 +01:00
|
|
|
|
2007-07-02 19:35:13 +02:00
|
|
|
post-install:
|
|
|
|
.for f in ${CFFILES}
|
|
|
|
${CP} -n ${EXAMPLESDIR}/$f ${PREFIX}/lib/X11/xdm/$f
|
|
|
|
.endfor
|
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
.include <bsd.port.mk>
|