aboutsummaryrefslogblamecommitdiff
path: root/x11-wm/sawfish/Makefile
blob: 1f1fcf584f3c2acee2bbbd3b6f243cc715c977e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              



                                                         

                                                                             
 
                       
                     
                 
                      
                                                      
                      
 
                                 
                                                
 

                                                                
                                              
                                                                
 
                   
                                              
                               
                   
                   
                   
                                    
                                                 
                                         

                   

                                                           

                       

                                      
 
           







                                                                 
 
                      
# New ports collection makefile for:   sawfish
# Date created:        13 September 1999
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-wm/sawfish/Makefile,v 1.5 2007/10/10 22:57:29 mezz Exp $
#

PORTNAME=	sawfish
PORTVERSION=	1.8.1
PORTEPOCH=	2
CATEGORIES=	x11-wm
MASTER_SITES=	http://download.tuxfamily.org/sawfish/
DIST_SUBDIR=	gnome2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lisp configurable window manager

BUILD_DEPENDS=	rep-gtk2>=0.90:${PORTSDIR}/x11-toolkits/rep-gtk2
LIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo \
		rep.16:${PORTSDIR}/lang/librep
RUN_DEPENDS=	rep-gtk2>=0.90:${PORTSDIR}/x11-toolkits/rep-gtk2

USE_XZ=		yes
USE_XORG=	ice sm x11 xft xinerama xrandr
USE_GNOME=	gnomehack gtk20
USE_GETTEXT=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share \
		--datadir=${PREFIX}/share
INSTALLS_ICONS=	yes

MANCOMPRESSED=	yes
MAN1=		sawfish.1 sawfish-client.1 sawfish-config.1
INFO=		sawfish

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} -e \
		'/dnsdomainname/d' ${WRKSRC}/build-info
	@${REINPLACE_CMD} -e \
		'/KDEDIR/s|^|#|g' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e \
		's|/share/man/|/man/|g' ${WRKSRC}/man/Makefile.in
	@${REINPLACE_CMD} -e \
		's|prog_name|program_name|g' ${WRKSRC}/src/main.c

.include <bsd.port.mk>