aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tss/Makefile
blob: e0d1acdd4648720ca2aedddbb2c9ca785a5358ea (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
# 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

USES=       ncurses
OPTIONS_DEFINE= DOCS

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

do-install:
    ${INSTALL_SCRIPT} -m 4755 ${WRKSRC}/tss ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${PREFIX}/etc/tss
    ${INSTALL_DATA} ${WRKSRC}/tss_art/* ${STAGEDIR}${PREFIX}/etc/tss
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ART_CREDITS COPYING Changelog INSTALL README
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>