blob: d641c6fc7844e353fa194e66a504a47dabff9dd8 (
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
|
# New ports collection makefile for: badwm
# Date created: 2002-10-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= badwm
PORTVERSION= 0.06
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= BadWM-${PORTVERSION}
MAINTAINER= trevor@FreeBSD.org
COMMENT= Window manager based on eviwm
DOCDIR= share/doc/${PORTNAME}
DOCS= AUTHORS COPYING ChangeLog INSTALL LICENSE README THANKS TODO
PLIST= ${WRKDIR}/pkg-plist
USE_AUTOCONF= y
WANT_AUTOCONF_VER= 253
USE_GMAKE= y
USE_X_PREFIX= y
post-extract:
# Avoid having to audit this huge file.
${RM} ${WRKSRC}/configure
pre-install:
${ECHO_CMD} bin/badwm > ${PLIST}
.if !defined(NOPORTDOCS)
.for ii in ${DOCS}
${ECHO_CMD} ${DOCDIR}/${ii} >> ${PLIST}
.endfor
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/BadWM ${PREFIX}/bin/badwm
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|