blob: 0bb8f16c2a1c7e16305899a3389fcada077ef9e9 (
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
|
# New ports collection makefile for: evilwm
# Date created: 2000-11-04
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= evilwm
PORTVERSION= 0.2.7
CATEGORIES= x11-wm
# not in MASTER_SITE_SOURCEFORGE
MASTER_SITES= ftp://projects.sourceforge.net/pub/evilwm/
MAINTAINER= trevor@FreeBSD.org
DOCDIR= share/doc/${PORTNAME}
DOCS= Changes.kja3 README
MAN1= evilwm.1
PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include -L${X11BASE}/lib -o evilwm *.c -lX11
pre-install:
${ECHO} bin/evilwm > ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
${ECHO} ${DOCDIR}/${i} >> ${PLIST}
.endfor
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/evilwm.man ${PREFIX}/man/man1/evilwm.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
.endfor
.endif
.include <bsd.port.mk>
|