blob: eec99c8ec1e91f350b8c47969139fc320c0de2bd (
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
53
54
55
56
57
|
# New ports collection makefile for: pawm
# Date created: 2002-08-22
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= pawm
PORTVERSION= 1.9.3
CATEGORIES= x11-wm
MASTER_SITES= http://www.pleyades.net/pawm/files/
MAINTAINER= trevor@FreeBSD.org
COMMENT= The Puto Amo Window Manager
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2
DOCS= AUTHORS Changelog GPL INSTALL README THANKS
PLIST= ${WRKDIR}/pkg-plist
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
do-configure:
cd ${WRKSRC} && \
bash ./0 --prefix=${PREFIX} --datadir=${PREFIX}/share/pawm
pre-install:
${ECHO_CMD} bin/pawm > ${PLIST}
${ECHO_CMD} etc/pawm.conf >> ${PLIST}
for ii in `${LS} ${WRKSRC}/data/icons`; do \
${ECHO_CMD} share/pawm/icons/$$ii >> ${PLIST}; \
done
${ECHO_CMD} @dirrm share/pawm/icons >> ${PLIST}
${ECHO_CMD} @dirrm share/pawm >> ${PLIST}
.if !defined(NOPORTDOCS)
${ECHO_CMD} @dirrm share/doc/pawm >> ${PLIST}
.for ii in ${DOCS}
${ECHO_CMD} share/doc/pawm/${ii} >> ${PLIST}
.endfor
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pawm ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/conf/pawm.conf ${PREFIX}/etc/
${MKDIR} ${PREFIX}/share/pawm/icons
for ii in `${LS} ${WRKSRC}/data/icons/*`; do \
${INSTALL_DATA} $$ii ${PREFIX}/share/pawm/icons ; \
done
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|