1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11-wm/ratpoison/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: ratpoison
# Date created: January 20, 2001
# Whom: Gergely Nagy <8@free.bsd.hu>
#
# $FreeBSD$
#
PORTNAME= ratpoison
2009-07-13 16:28:10 +00:00
PORTVERSION= 1.4.5
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
http://mirror.4bit.ws/ratpoison/
MAINTAINER= dhn@FreeBSD.org
2003-02-21 14:19:11 +00:00
COMMENT= Simple window manager with no fat library dependencies
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_XORG= xext xinerama xtst
GNU_CONFIGURE= yes
OPTIONS= GDM_SUPPORT "Install session data files for GDM" off
SUB_FILES= ratpoison.desktop
.include <bsd.port.pre.mk>
post-patch:
.for file in rpws allwindows.sh
${REINPLACE_CMD} '1s|!\(/bin/bash\)|!/usr/local\1|' ${WRKSRC}/contrib/${file}
.endfor
.if defined (WITH_GDM_SUPPORT)
PLIST_SUB+= WITH_GDM=""
post-install:
${MKDIR} ${PREFIX}/etc/dm/Sessions
${INSTALL_DATA} ${WRKDIR}/ratpoison.desktop ${PREFIX}/etc/dm/Sessions/
.else
PLIST_SUB+= WITH_GDM="@comment "
.endif
.if defined(NOPORTDOCS)
INSTALL_TARGET= SUBDIRS=src install-exec
.else
MAN1= ratpoison.1
INFO= ratpoison
.endif
.include <bsd.port.post.mk>