1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Add support for GDM sessions (only when WITH_GDM_SUPPORT is defined)

- Use OPTIONS to configure the port
- Calm portlint by tweaking a little Makefile and pkg-plist
- Fix the NOPORTDOCS plist issue
- Takeover maintainership

PR:		74283
Submitted by:	me
Approved by:	Björn Lindström <bkhl@elektrubadur.se> (former maintainer)
This commit is contained in:
Herve Quiroz 2004-11-24 17:32:29 +00:00
parent f719ee85fa
commit d25b67d5a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122315
3 changed files with 42 additions and 22 deletions

View File

@ -11,15 +11,34 @@ CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= bkhl@elektrubadur.se
MAINTAINER= hq@FreeBSD.org
COMMENT= Simple window manager with no fat library dependencies
MAN1= ratpoison.1
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
.if defined(NOPORTDOCS)
INSTALL_TARGET= SUBDIRS=src install-exec
OPTIONS= GDM_SUPPORT "Install session data files for GDM" off
.include <bsd.port.pre.mk>
.if defined (WITH_GDM_SUPPORT)
PLIST_SUB+= WITH_GDM=""
post-configure:
${SED} -e 's,%%PREFIX%%,${PREFIX},' ${FILESDIR}/ratpoison.desktop \
> ${WRKSRC}/ratpoison.desktop
post-install:
${MKDIR} ${PREFIX}/etc/gdm/Sessions
${INSTALL_DATA} ${WRKSRC}/ratpoison.desktop ${PREFIX}/etc/dm/Sessions/
.else
PLIST_SUB+= WITH_GDM="@comment "
.endif
.include <bsd.port.mk>
.if defined(NOPORTDOCS)
INSTALL_TARGET= SUBDIRS=src install-exec
.else
MAN1= ratpoison.1
INFO= ratpoison
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
[Desktop Entry]
Name=Ratpoison
Exec=%%PREFIX%%/bin/ratpoison

View File

@ -1,19 +1,17 @@
@comment $FreeBSD$
bin/ratpoison
share/ratpoison/allwindows.sh
share/ratpoison/clickframe.pl
share/ratpoison/genrpbindings
share/ratpoison/ratpoison.el
share/ratpoison/rpshowall.sh
share/ratpoison/rpws
share/ratpoison/split.sh
%%PORTDOCS%%@unexec install-info --delete %D/info/ratpoison %D/info/dir
%%PORTDOCS%%info/ratpoison.info
%%PORTDOCS%%@exec install-info %D/info/ratpoison.info %D/info/dir
%%PORTDOCS%%share/doc/ratpoison/AUTHORS
%%PORTDOCS%%share/doc/ratpoison/COPYING
%%PORTDOCS%%share/doc/ratpoison/ChangeLog
%%PORTDOCS%%share/doc/ratpoison/NEWS
%%PORTDOCS%%share/doc/ratpoison/README
%%PORTDOCS%%@dirrm share/doc/ratpoison
@dirrm share/ratpoison
%%PORTDOCS%%%%DATADIR%%/allwindows.sh
%%PORTDOCS%%%%DATADIR%%/clickframe.pl
%%PORTDOCS%%%%DATADIR%%/genrpbindings
%%PORTDOCS%%%%DATADIR%%/ratpoison.el
%%PORTDOCS%%%%DATADIR%%/rpshowall.sh
%%PORTDOCS%%%%DATADIR%%/rpws
%%PORTDOCS%%%%DATADIR%%/split.sh
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%WITH_GDM%%etc/dm/Sessions/ratpoison.desktop
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%DATADIR%%