Index: head/x11/xdm/Makefile =================================================================== --- head/x11/xdm/Makefile (revision 448838) +++ head/x11/xdm/Makefile (revision 448839) @@ -1,55 +1,52 @@ # $FreeBSD$ PORTNAME= xdm PORTVERSION= 1.1.11 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= X.Org X display manager LICENSE= MIT XORG_CAT= app -USE_XORG= xmu x11 xau xinerama xpm xdmcp xt xext xaw -CONFIGURE_ARGS+= --with-xdmconfigdir=${PREFIX}/lib/X11/xdm \ - --with-xdmscriptdir=${PREFIX}/lib/X11/xdm \ - --with-authdir=/var/db/xdm - USES= cpe libtool +USE_LDCONFIG= yes +USE_XORG= x11 xau xaw xdmcp xext xinerama xmu xpm xt CPE_PRODUCT= x_display_manager CPE_VENDOR= x +CONFIGURE_ARGS+= --with-xdmconfigdir=${PREFIX}/etc/X11/xdm \ + --with-xdmscriptdir=${PREFIX}/etc/X11/xdm \ + --with-pixmapdir=${PREFIX}/share/pixmaps \ + --with-authdir=/var/db/xdm + CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \ Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config OPTIONS_SUB= yes OPTIONS_DEFINE= XDMSHELL XFT OPTIONS_DEFAULT= XFT XDMSHELL_DESC= Install xdmshell XDMSHELL_CONFIGURE_ENABLE= xdmshell XFT_USE= xorg=xft XFT_CONFIGURE_WITH= xft INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ ${WRKSRC}/configure - @${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 @${REINPLACE_CMD} -e "s|@DESTDIR@||" ${WRKSRC}/Makefile.in post-install: .for f in ${CFFILES} - @${MV} ${STAGEDIR}${PREFIX}/lib/X11/xdm/${f} ${STAGEDIR}${PREFIX}/lib/X11/xdm/${f}.sample + @${MV} ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f} ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f}.sample .endfor @${MKDIR} ${STAGEDIR}/var/db/xdm .include Index: head/x11/xdm/pkg-plist =================================================================== --- head/x11/xdm/pkg-plist (revision 448838) +++ head/x11/xdm/pkg-plist (revision 448839) @@ -1,23 +1,23 @@ bin/xdm %%XDMSHELL%%bin/xdmshell +@sample etc/X11/xdm/GiveConsole.sample +@sample etc/X11/xdm/TakeConsole.sample +@sample etc/X11/xdm/Xaccess.sample +@sample etc/X11/xdm/Xreset.sample +@sample etc/X11/xdm/Xresources.sample +@sample etc/X11/xdm/Xservers.sample +@sample etc/X11/xdm/Xsession.sample +@sample etc/X11/xdm/Xsetup_0.sample +@sample etc/X11/xdm/Xstartup.sample +@sample etc/X11/xdm/Xwilling.sample +@sample etc/X11/xdm/xdm-config.sample lib/X11/xdm/chooser lib/X11/xdm/libXdmGreet.so -lib/X11/xdm/pixmaps/xorg-bw.xpm -lib/X11/xdm/pixmaps/xorg.xpm man/man1/xdm.1.gz %%XDMSHELL%%man/man1/xdmshell.1.gz share/X11/app-defaults/Chooser -@sample lib/X11/xdm/GiveConsole.sample -@sample lib/X11/xdm/TakeConsole.sample -@sample lib/X11/xdm/Xaccess.sample -@sample lib/X11/xdm/Xreset.sample -@sample lib/X11/xdm/Xresources.sample -@sample lib/X11/xdm/Xservers.sample -@sample lib/X11/xdm/Xsession.sample -@sample lib/X11/xdm/Xsetup_0.sample -@sample lib/X11/xdm/Xstartup.sample -@sample lib/X11/xdm/Xwilling.sample -@sample lib/X11/xdm/xdm-config.sample +share/pixmaps/xorg-bw.xpm +share/pixmaps/xorg.xpm @postunexec rm -rf /var/db/xdm/* 2>/dev/null || true @dir /var/db/xdm @dir /var/db