summaryrefslogtreecommitdiff
path: root/sysutils/tss/Makefile
blob: 5cbbd9c167d5b910b2d6455406975953f1b2791f (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
# Created by: Peter Ankerstal <peter@pean.org>
# $FreeBSD$

PORTNAME=	tss
PORTVERSION=	0.8.2
CATEGORIES=	sysutils
MASTER_SITES=	http://www.pulia.nu/tss/src/

MAINTAINER=	peter@pean.org
COMMENT=	Terminal ScreenSaver that allows you to lock you terminal

NO_STAGE=	yes
post-patch:
	@ ${REINPLACE_CMD} -e "s|/etc/tss|${PREFIX}/etc/tss|" ${WRKSRC}/src/main.c

do-install:
	${INSTALL_SCRIPT} -m 4755 ${WRKSRC}/tss ${PREFIX}/bin
	${MKDIR} ${PREFIX}/etc/tss
	${INSTALL_DATA} ${WRKSRC}/tss_art/*   ${PREFIX}/etc/tss
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ART_CREDITS COPYING Changelog INSTALL README
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>