Changeset View
Changeset View
Standalone View
Standalone View
x11/xdm/Makefile
Context not available. | |||||
PORTNAME= xdm | PORTNAME= xdm | ||||
PORTVERSION= 1.1.11 | PORTVERSION= 1.1.11 | ||||
PORTREVISION= 2 | PORTREVISION= 3 | ||||
CATEGORIES= x11 | CATEGORIES= x11 | ||||
MAINTAINER= x11@FreeBSD.org | MAINTAINER= x11@FreeBSD.org | ||||
Context not available. | |||||
XORG_CAT= app | XORG_CAT= app | ||||
USE_XORG= xmu x11 xau xinerama xpm xdmcp xt xext xaw | USE_XORG= xmu x11 xau xinerama xpm xdmcp xt xext xaw | ||||
CONFIGURE_ARGS+= --with-xdmconfigdir=${EXAMPLESDIR} \ | CONFIGURE_ARGS+= --with-xdmconfigdir=${PREFIX}/lib/X11/xdm \ | ||||
--with-xdmscriptdir=${EXAMPLESDIR} | --with-xdmscriptdir=${PREFIX}/lib/X11/xdm | ||||
USES= libtool | USES= libtool | ||||
CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \ | CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \ | ||||
Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config | Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config | ||||
OPTIONS_SUB= yes | |||||
OPTIONS_DEFINE= XDMSHELL | OPTIONS_DEFINE= XDMSHELL | ||||
XDMSHELL_DESC= Install xdmshell | XDMSHELL_DESC= Install xdmshell | ||||
.include <bsd.port.options.mk> | XDMSHELL_CONFIGURE_ENABLE= xdmshell | ||||
.if ${PORT_OPTIONS:MXDMSHELL} | |||||
CONFIGURE_ARGS+=--enable-xdmshell | |||||
PLIST_SUB+= XDMSHELL="" | |||||
.else | |||||
CONFIGURE_ARGS+=--disable-xdmshell | |||||
PLIST_SUB+= XDMSHELL="@comment " | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ | @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
Context not available. | |||||
${WRKSRC}/config/Xreset.cpp | ${WRKSRC}/config/Xreset.cpp | ||||
@${REINPLACE_CMD} -e "s|@DESTDIR@||" ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e "s|@DESTDIR@||" ${WRKSRC}/Makefile.in | ||||
post-configure: | |||||
@${REINPLACE_CMD} -e "s|${EXAMPLESDIR}|${PREFIX}/lib/X11/xdm|" \ | |||||
${WRKSRC}/config.h | |||||
post-install: | post-install: | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/X11/xdm/libXdmGreet.so | |||||
.for f in ${CFFILES} | .for f in ${CFFILES} | ||||
${CP} -n ${EXAMPLESDIR}/$f ${STAGEDIR}${PREFIX}/lib/X11/xdm/$f || ${TRUE} | @${MV} ${STAGEDIR}${PREFIX}/lib/X11/xdm/${f} ${STAGEDIR}${PREFIX}/lib/X11/xdm/${f}.sample | ||||
.endfor | .endfor | ||||
${MKDIR} /var/lib/xdm/authdir | @${MKDIR} ${STAGEDIR}/var/lib/xdm/authdir | ||||
${LN} -sf /var/lib/xdm/authdir ${STAGEDIR}${PREFIX}/lib/X11/xdm/authdir | @${LN} -sf /var/lib/xdm/authdir ${STAGEDIR}${PREFIX}/lib/X11/xdm/authdir | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> | ||||
Context not available. |