aboutsummaryrefslogblamecommitdiff
path: root/sysutils/tss/Makefile
blob: d8965dd9c25679fbed51b7bf6d3691e2f50f076a (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                        
                     





                                                                         
















                                                                                  
# 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

MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

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>