1998-09-04 07:17:26 +00:00
|
|
|
# New ports collection makefile for: wdm
|
2000-03-08 17:12:29 +00:00
|
|
|
# Version required: 1.20
|
1998-09-04 07:17:26 +00:00
|
|
|
# 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$
|
1998-09-04 07:17:26 +00:00
|
|
|
|
2000-03-08 17:12:29 +00:00
|
|
|
DISTNAME= wdm-1.20
|
1999-01-18 06:43:04 +00:00
|
|
|
CATEGORIES= x11 windowmaker
|
1999-11-09 12:46:00 +00:00
|
|
|
MASTER_SITES= http://cortex.unice.fr/~jerome/WindowMaker/wdm/ \
|
1998-09-04 07:17:26 +00:00
|
|
|
http://www.de.freebsd.org/de/gif/bsd/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DAEMONPIC}
|
|
|
|
|
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
|
1999-11-09 12:46:00 +00:00
|
|
|
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
|
1998-09-04 07:17:26 +00:00
|
|
|
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DIST_SUBDIR= wdm
|
|
|
|
USE_X_PREFIX= yes
|
1999-11-09 12:46:00 +00:00
|
|
|
USE_AUTOCONF= yes
|
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-03-08 17:12:29 +00:00
|
|
|
.if defined(USE_PAM)
|
|
|
|
CONFIGURE_ARGS+= --enable-pam
|
|
|
|
LIBPAM= -lpam
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if !defined(USE_PAM)
|
|
|
|
@${ECHO_MSG} "To build this port with PAM support, define \"USE_PAM\"."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/*.patch ${WRKSRC}/patches
|
|
|
|
|
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
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@(cd ${WRKSRC}; automake -a --include-deps)
|
1999-10-05 10:20:27 +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>
|