blob: dcd56827065ebcf14c812abaf8bfcc61c2161adc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= wmanager
PORTVERSION= 0.2.1
PORTREVISION= 11
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= X11 window manager selector
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_XORG= x11 xext
USE_GL= gl
USE_GMAKE= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONS_DEFINE= ADDONS
OPTIONS_DEFAULT=ADDONS
ADDONS_DESC= Install the helper scripts and manpages
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MADDONS}
RUN_DEPENDS+= wmanager-loop:${PORTSDIR}/x11-wm/wmanager-addons
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${SED} -e "s@%%DOCSDIR%%@${DOCSDIR}@; s@%%EXAMPLESDIR%%@${EXAMPLESDIR}@" ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${MKDIR} ${DOCSDIR}
.for file in FAQ HISTORY INSTALL NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${EXAMPLESDIR}/wmanagerrc_sample
${INSTALL_DATA} ${WRKSRC}/.xinitrc ${EXAMPLESDIR}/xinitrc_sample
.else
${RM} -f ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>
|