|
Lines 2-36
Link Here
|
| 2 |
# $FreeBSD: head/x11-wm/ratpoison/Makefile 389300 2015-06-12 20:58:13Z erwin $ |
2 |
# $FreeBSD: head/x11-wm/ratpoison/Makefile 389300 2015-06-12 20:58:13Z erwin $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= ratpoison |
4 |
PORTNAME= ratpoison |
| 5 |
PORTVERSION= 1.4.6 |
5 |
PORTVERSION= 1.4.8 |
| 6 |
CATEGORIES= x11-wm |
6 |
CATEGORIES= x11-wm |
| 7 |
MASTER_SITES= SAVANNAH http://mirror.4bit.ws/ |
7 |
MASTER_SITES= SAVANNAH |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
| 10 |
COMMENT= Simple window manager with no fat library dependencies |
10 |
COMMENT= Simple window manager with no fat library dependencies |
| 11 |
|
11 |
|
| 12 |
USE_XORG= xext xinerama xtst |
12 |
LICENSE= GPLv2 # (or later) |
|
|
13 |
|
| 14 |
USES= pkgconfig |
| 15 |
USE_XORG= ice x11 xext xinerama xtst |
| 13 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
| 14 |
|
17 |
|
| 15 |
OPTIONS_DEFINE= GDM_SUPPORT DOCS |
18 |
SUB_FILES= ratpoison.desktop |
| 16 |
GDM_SUPPORT_DESC= Install session data files for GDM |
|
|
| 17 |
|
19 |
|
| 18 |
INFO= ratpoison |
20 |
INFO= ratpoison |
| 19 |
SUB_FILES= ratpoison.desktop |
21 |
|
|
|
22 |
OPTIONS_DEFINE= DOCS GDM_SUPPORT READLINE XFT |
| 23 |
OPTIONS_DEFAULT= READLINE XFT |
| 24 |
OPTIONS_SUB= yes |
| 25 |
|
| 26 |
GDM_SUPPORT_DESC= Install session data files for GDM |
| 27 |
READLINE_USES= readline |
| 28 |
READLINE_CONFIGURE_ENABLE= history |
| 29 |
XFT_USE= xorg=xft |
| 30 |
XFT_CONFIGURE_WITH= xft |
| 20 |
|
31 |
|
| 21 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
| 22 |
|
33 |
|
| 23 |
post-patch: |
34 |
post-patch: |
| 24 |
${REINPLACE_CMD} -e 's|bash|sh|g' ${WRKSRC}/contrib/allwindows.sh |
35 |
@${REINPLACE_CMD} -e \ |
| 25 |
|
36 |
'/^doc_DATA/s|COPYING||' ${WRKSRC}/Makefile.in |
| 26 |
.if ${PORT_OPTIONS:MGDM_SUPPORT} |
37 |
@${REINPLACE_CMD} -e \ |
| 27 |
PLIST_SUB+= WITH_GDM="" |
38 |
's|$$(lispdir)|$$(pkgdatadir)|' ${WRKSRC}/contrib/Makefile.in |
| 28 |
|
39 |
|
| 29 |
post-install: |
40 |
post-install: |
| 30 |
@${MKDIR} ${PREFIX}/etc/dm/Sessions |
41 |
.if ${PORT_OPTIONS:MGDM_SUPPORT} |
| 31 |
${INSTALL_DATA} ${WRKDIR}/ratpoison.desktop ${STAGEDIR}${PREFIX}/etc/dm/Sessions |
42 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions |
| 32 |
.else |
43 |
(cd ${WRKDIR} && ${INSTALL_DATA} ratpoison.desktop \ |
| 33 |
PLIST_SUB+= WITH_GDM="@comment " |
44 |
${STAGEDIR}${PREFIX}/etc/dm/Sessions) |
| 34 |
.endif |
45 |
.endif |
| 35 |
|
46 |
|
| 36 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |