aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/yawm/Makefile
blob: 46caa04dfadfd76d8119fc1d71c3845e39aac13b (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
# New ports collection makefile for:    yawm
# Date created:             2002-03-10
# Whom:                 trevor
#
# $FreeBSD$
#

PORTNAME=   yawm
PORTVERSION=    0.0.1
CATEGORIES= x11-wm
MASTER_SITES=   ftp://ftp.sai.msu.su/pub/X11/win_man/
DISTNAME=   yawm-0.0.1-a4

MAINTAINER= ports@FreeBSD.org
COMMENT=    Has title bars, iconizing, maximizing, taskbar, placement, clock

GNU_CONFIGURE=  yes
PLIST=      ${WRKDIR}/pkg-plist
#USE_GMAKE= yes
USE_X_PREFIX=   yes
DOCS=       AUTHORS COPYING ChangeLog

pre-install:
    ${ECHO_CMD} bin/yawm > ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
    ${ECHO_CMD} share/doc/yawm/${i} >> ${PLIST}
.endfor
    ${ECHO_CMD} @dirrm share/doc/yawm >> ${PLIST}
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/yawm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>