1998-09-04 03:17:26 -04:00
|
|
|
# New ports collection makefile for: wdm
|
|
|
|
# Date created: August 31, 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-09-04 03:17:26 -04:00
|
|
|
#
|
1999-08-30 22:51:23 -04:00
|
|
|
# $FreeBSD$
|
2000-04-13 15:19:05 -04:00
|
|
|
#
|
1998-09-04 03:17:26 -04:00
|
|
|
|
2000-04-13 15:19:05 -04:00
|
|
|
PORTNAME= wdm
|
2001-02-05 11:18:54 -05:00
|
|
|
PORTVERSION= 1.20
|
1999-01-18 01:43:04 -05:00
|
|
|
CATEGORIES= x11 windowmaker
|
2000-04-29 19:52:55 -04:00
|
|
|
MASTER_SITES= http://www.tcscs.com/wdm/wdm/ \
|
1998-09-04 03:17:26 -04:00
|
|
|
http://www.de.freebsd.org/de/gif/bsd/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DAEMONPIC}
|
2000-06-20 03:39:02 -04:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1998-09-04 03:17:26 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-09-04 03:17:26 -04:00
|
|
|
|
2001-05-14 15:00:07 -04:00
|
|
|
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
|
1998-09-04 03:17:26 -04:00
|
|
|
|
|
|
|
DIST_SUBDIR= wdm
|
|
|
|
USE_X_PREFIX= yes
|
2000-06-20 03:39:02 -04:00
|
|
|
USE_AUTOMAKE= yes
|
2001-01-12 15:29:10 -05:00
|
|
|
AUTOMAKE_ARGS= --include-deps
|
2000-03-08 12:12:29 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-DCSRG_BASED -DHAS_SETUSERCONTEXT" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib ${LIBPAM}"
|
1999-11-09 07:46:00 -05:00
|
|
|
CONFIGURE_ARGS= --with-logdir=/var/log \
|
1999-10-05 06:20:27 -04:00
|
|
|
--with-runlockdir=/var/run \
|
|
|
|
--with-wdmdir=${PREFIX}/lib/X11/wdm \
|
|
|
|
--with-Logo=Earth200x130.xpm \
|
2001-01-12 15:29:10 -05:00
|
|
|
--with-gfx-incs=${X11BASE}/include/WINGs \
|
|
|
|
--with-gfx-libs=${X11BASE}/lib \
|
1999-10-05 06:20:27 -04:00
|
|
|
--with-defuserpath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin:${LOCALBASE}/bin \
|
|
|
|
--with-defsystempath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin \
|
1999-11-09 07:46:00 -05:00
|
|
|
--with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm
|
1998-09-04 03:17:26 -04:00
|
|
|
|
|
|
|
MAN1= wdm.1 wdmLogin.1
|
|
|
|
|
|
|
|
DAEMONPIC= daemon1-HQ-1280x960.jpg
|
|
|
|
|
2000-04-16 20:19:02 -04:00
|
|
|
.if defined(WITH_PAM)
|
2000-03-18 21:44:09 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-pam
|
|
|
|
LIBPAM= -lpam
|
|
|
|
.endif
|
|
|
|
|
2001-01-12 15:29:10 -05:00
|
|
|
pre-everything:
|
2000-04-16 20:19:02 -04:00
|
|
|
.if !defined(WITH_PAM)
|
|
|
|
@${ECHO_MSG} "To build this port with PAM support, define \"WITH_PAM\"."
|
2000-03-18 21:44:09 -05:00
|
|
|
.endif
|
|
|
|
|
1999-11-09 07:46:00 -05:00
|
|
|
post-patch:
|
2000-03-08 12:12:29 -05:00
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man
|
1999-11-09 07:46:00 -05:00
|
|
|
|
2001-03-27 05:03:22 -05:00
|
|
|
pre-install:
|
|
|
|
@if [ -e ${PREFIX}/lib/X11/wdm/wdm-config ]; then \
|
|
|
|
${MV} ${PREFIX}/lib/X11/wdm/wdm-config \
|
|
|
|
${PREFIX}/lib/X11/wdm/wdm-config.preserve; \
|
|
|
|
fi
|
2001-03-29 14:19:19 -05:00
|
|
|
@if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0 ]; then \
|
|
|
|
${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0 \
|
|
|
|
${PREFIX}/lib/X11/wdm/Xsetup_0.preserve; \
|
|
|
|
fi
|
2001-03-27 05:03:22 -05:00
|
|
|
|
1998-09-04 03:17:26 -04:00
|
|
|
post-install:
|
2001-03-27 05:03:22 -05:00
|
|
|
@${CP} ${PREFIX}/lib/X11/wdm/wdm-config \
|
2001-03-29 14:19:19 -05:00
|
|
|
${PREFIX}/lib/X11/wdm/wdm-config.dist
|
2001-03-27 05:03:22 -05:00
|
|
|
@if [ -e ${PREFIX}/lib/X11/wdm/wdm-config.preserve ]; then \
|
|
|
|
${MV} ${PREFIX}/lib/X11/wdm/wdm-config.preserve \
|
|
|
|
${PREFIX}/lib/X11/wdm/wdm-config; \
|
|
|
|
fi
|
2001-03-29 14:19:19 -05:00
|
|
|
@${CP} ${PREFIX}/lib/X11/wdm/Xsetup_0 \
|
|
|
|
${PREFIX}/lib/X11/wdm/Xsetup_0.dist
|
|
|
|
@if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve ]; then \
|
|
|
|
${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve \
|
|
|
|
${PREFIX}/lib/X11/wdm/Xsetup_0; \
|
|
|
|
fi
|
2001-03-27 05:03:22 -05:00
|
|
|
@${INSTALL_DATA} ${_DISTDIR}/${DAEMONPIC} ${PREFIX}/lib/X11/wdm/pixmaps
|
1998-09-04 03:17:26 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|