summaryrefslogblamecommitdiff
path: root/x11/wdm/Makefile
blob: e42a0e4c3848716a35c3c69872fadef05e6f920a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
                            
                                       
                                                        
 
           
 
                        
                               
                                                                 


                                                       
                                 
 
                                                
                                                   
                                                  
                                                
                                                  
                                                          
                                                        
                                                   



                                          




                                                            




                                                                                                  
                                                                                                             




                                       




                                                                        
 



                                                                              
# New ports collection makefile for:	wdm
# Version required:	1.19
# Date created:		August 31, 1998
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$

DISTNAME=	wdm-1.19
CATEGORIES=	x11 windowmaker
MASTER_SITES=	http://cortex.unice.fr/~jerome/WindowMaker/wdm/ \
		http://www.de.freebsd.org/de/gif/bsd/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DAEMONPIC}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
		gif.5:${PORTSDIR}/graphics/giflib \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.3:${PORTSDIR}/graphics/png \
		tiff.4:${PORTSDIR}/graphics/tiff \
		wraster.3:${PORTSDIR}/x11-wm/windowmaker \
		PropList.2:${PORTSDIR}/devel/libPropList
BUILD_DEPENDS=	automake:${PORTSDIR}/devel/automake

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_ARGS=	--with-logdir=/var/log \
		--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 \
		--with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm

MAN1=	wdm.1 wdmLogin.1

DAEMONPIC=	daemon1-HQ-1280x960.jpg

post-patch:
	@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/doc/*.man

pre-configure:
	@(cd ${WRKSRC}; automake -a --include-deps)

post-install:
	${INSTALL_DATA} ${_DISTDIR}/${DAEMONPIC} ${PREFIX}/lib/X11/wdm/pixmaps

.include <bsd.port.mk>