diff options
Diffstat (limited to 'sysutils/tss/Makefile')
-rw-r--r-- | sysutils/tss/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/tss/Makefile b/sysutils/tss/Makefile new file mode 100644 index 000000000000..a8f9e9557327 --- /dev/null +++ b/sysutils/tss/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: tss +# Date created: 25 October 2006 +# Whom: Peter Ankerstal <peter@pean.org> +# +# $FreeBSD$ +# + +PORTNAME= tss +PORTVERSION= 0.8.1 +CATEGORIES= sysutils +MASTER_SITES= http://www.pulia.nu/tss/src/ + +MAINTAINER= peter@pean.org +COMMENT= Terminal ScreenSaver that allows you to lock you terminal + +USE_GETOPT_LONG=yes +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> |