aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tss/Makefile
blob: 93ba50c90321654597d6f2f9ed3e6500f3f68484 (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
# New ports collection makefile for:    tss
# Date created:             25 October 2006
# Whom:                 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

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>