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