aboutsummaryrefslogtreecommitdiff
path: root/misc/wmtunlo/Makefile
blob: b718fde558857a225b626c4f5599ea9407a35e24 (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
# New ports collection makefile for:	wmtunlo
# Date created:			27 July 2002
# Whom:				Adam Weinberger <adam@vectors.cx>
#
# $FreeBSD$
#

PORTNAME=	wmtunlo
PORTVERSION=	0.1.1
CATEGORIES=	misc windowmaker
MASTER_SITES=	http://clay.ll.pl/download/

MAINTAINER=	adam@vectors.cx

USE_REINPLACE=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes

post-patch:
.for i in 1 2 3 4 5
	@${REINPLACE_CMD} -e 's|./wmtunlo|${PREFIX}/bin/wmtunlo|g' \
		${WRKSRC}/example${i}
.endfor

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/wmtunlo ${PREFIX}/bin
	@${MKDIR} ${EXAMPLESDIR}
.for i in 1 2 3 4 5
	@${INSTALL_SCRIPT} ${WRKSRC}/example${i} \
		${EXAMPLESDIR}/wmtunlo.example${i}
.endfor

.include <bsd.port.mk>