27 lines
722 B
Makefile
27 lines
722 B
Makefile
# 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
|
|
|
|
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>
|