1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/x11-wm/ratpoison/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

46 lines
1.0 KiB
Makefile

# Created by: Gergely Nagy <8@free.bsd.hu>
# $FreeBSD$
PORTNAME= ratpoison
PORTVERSION= 1.4.9
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= SAVANNAH
MAINTAINER= jrm@FreeBSD.org
COMMENT= Simple window manager with no fat library dependencies
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig
USE_XORG= ice x11 xext xrandr xtst
GNU_CONFIGURE= yes
SUB_FILES= ratpoison.desktop
INFO= ratpoison
OPTIONS_DEFINE= DOCS GDM_SUPPORT READLINE XFT
OPTIONS_DEFAULT= READLINE XFT
OPTIONS_SUB= yes
GDM_SUPPORT_DESC= Install session data files for GDM
READLINE_USES= readline
READLINE_CONFIGURE_ENABLE= history
XFT_USE= xorg=xft
XFT_CONFIGURE_WITH= xft
post-patch:
@${REINPLACE_CMD} -e \
'/^doc_DATA/s|COPYING||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|$$(lispdir)|$$(pkgdatadir)|' ${WRKSRC}/contrib/Makefile.in
post-install-GDM_SUPPORT-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions
(cd ${WRKDIR} && ${INSTALL_DATA} ratpoison.desktop \
${STAGEDIR}${PREFIX}/etc/dm/Sessions)
.include <bsd.port.mk>