diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-03-09 01:12:29 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-03-09 01:12:29 +0800 |
commit | a5a9f4b359c1a984f3481570a417987e5c1d2204 (patch) | |
tree | af97ac75d0c158cd882bbf3b1a156a4ee98c8b00 /x11/wdm/Makefile | |
parent | 38afb873f9ece8c96e042b0660d007a66a2018b9 (diff) | |
download | freebsd-ports-gnome-a5a9f4b359c1a984f3481570a417987e5c1d2204.tar.gz freebsd-ports-gnome-a5a9f4b359c1a984f3481570a417987e5c1d2204.tar.zst freebsd-ports-gnome-a5a9f4b359c1a984f3481570a417987e5c1d2204.zip |
Update port to 1.20
PR: 17252
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'x11/wdm/Makefile')
-rw-r--r-- | x11/wdm/Makefile | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile index 0ae23e6f9f54..73ccfb056562 100644 --- a/x11/wdm/Makefile +++ b/x11/wdm/Makefile @@ -1,11 +1,11 @@ # New ports collection makefile for: wdm -# Version required: 1.19 +# Version required: 1.20 # Date created: August 31, 1998 # Whom: Thomas Gellekum <tg@FreeBSD.org> # # $FreeBSD$ -DISTNAME= wdm-1.19 +DISTNAME= wdm-1.20 CATEGORIES= x11 windowmaker MASTER_SITES= http://cortex.unice.fr/~jerome/WindowMaker/wdm/ \ http://www.de.freebsd.org/de/gif/bsd/ @@ -20,9 +20,9 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= wdm USE_X_PREFIX= yes USE_AUTOCONF= yes -CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include \ - -DCSRG_BASED -DHAS_SETUSERCONTEXT' \ - LIBS='-L${LOCALBASE}/lib' +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ + -DCSRG_BASED -DHAS_SETUSERCONTEXT" \ + LIBS="-L${LOCALBASE}/lib ${LIBPAM}" CONFIGURE_ARGS= --with-logdir=/var/log \ --with-runlockdir=/var/run \ --with-wdmdir=${PREFIX}/lib/X11/wdm \ @@ -30,15 +30,26 @@ CONFIGURE_ARGS= --with-logdir=/var/log \ --with-defuserpath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin:${LOCALBASE}/bin \ --with-defsystempath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin \ --with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm -CONFIGURE_ARGS+=--enable-pam MAN1= wdm.1 wdmLogin.1 DAEMONPIC= daemon1-HQ-1280x960.jpg +.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 + post-patch: - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/*.man - cp ${FILESDIR}/xdm-3.3.2-pamwdm[23].patch ${WRKSRC}/patches + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man pre-configure: @(cd ${WRKSRC}; automake -a --include-deps) |