2001-02-14 15:43:15 +01:00
|
|
|
# New ports collection makefile for: ratpoison
|
|
|
|
# Date created: January 20, 2001
|
|
|
|
# Whom: Gergely Nagy <8@free.bsd.hu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ratpoison
|
2004-06-17 12:56:42 +02:00
|
|
|
PORTVERSION= 1.3.0
|
2005-10-14 03:03:09 +02:00
|
|
|
PORTREVISION= 1
|
2001-02-14 15:43:15 +01:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2004-11-24 18:32:29 +01:00
|
|
|
MAINTAINER= hq@FreeBSD.org
|
2003-02-21 15:19:11 +01:00
|
|
|
COMMENT= Simple window manager with no fat library dependencies
|
2001-02-14 15:43:15 +01:00
|
|
|
|
2005-10-14 03:03:09 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
|
2001-02-14 15:43:15 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-10-14 03:03:09 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-02-14 15:43:15 +01:00
|
|
|
|
2004-11-24 18:32:29 +01:00
|
|
|
OPTIONS= GDM_SUPPORT "Install session data files for GDM" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-14 03:03:09 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in rpws allwindows.sh
|
|
|
|
${REINPLACE_CMD} '1s|!\(/bin/bash\)|!/usr/local\1|' ${WRKSRC}/contrib/${file}
|
|
|
|
.endfor
|
|
|
|
|
2004-11-24 18:32:29 +01:00
|
|
|
.if defined (WITH_GDM_SUPPORT)
|
|
|
|
PLIST_SUB+= WITH_GDM=""
|
|
|
|
post-configure:
|
|
|
|
${SED} -e 's,%%PREFIX%%,${PREFIX},' ${FILESDIR}/ratpoison.desktop \
|
|
|
|
> ${WRKSRC}/ratpoison.desktop
|
|
|
|
|
|
|
|
post-install:
|
2005-10-12 17:00:57 +02:00
|
|
|
${MKDIR} ${PREFIX}/etc/dm/Sessions
|
2004-11-24 18:32:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ratpoison.desktop ${PREFIX}/etc/dm/Sessions/
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_GDM="@comment "
|
|
|
|
.endif
|
|
|
|
|
2001-11-24 22:51:23 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
2001-04-07 18:36:00 +02:00
|
|
|
INSTALL_TARGET= SUBDIRS=src install-exec
|
2004-11-24 18:32:29 +01:00
|
|
|
.else
|
|
|
|
MAN1= ratpoison.1
|
|
|
|
INFO= ratpoison
|
2001-02-14 15:43:15 +01:00
|
|
|
.endif
|
|
|
|
|
2004-11-24 18:32:29 +01:00
|
|
|
.include <bsd.port.post.mk>
|