aboutsummaryrefslogtreecommitdiff
path: root/sysutils/life-preserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/life-preserver/Makefile')
-rw-r--r--sysutils/life-preserver/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/life-preserver/Makefile b/sysutils/life-preserver/Makefile
new file mode 100644
index 000000000000..f8cf903e5058
--- /dev/null
+++ b/sysutils/life-preserver/Makefile
@@ -0,0 +1,33 @@
+# Created by: Kris Moore <kmoore@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= life-preserver
+PORTVERSION= 1422974289
+CATEGORIES= sysutils
+MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
+ ftp://ftp.pcbsd.org/pub/software/
+
+MAINTAINER= kmoore@FreeBSD.org
+COMMENT= PC-BSD Life Preserver Utility
+
+LICENSE= BSD
+
+RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:${PORTSDIR}/sysutils/pcbsd-libsh
+
+WRKSRC= ${WRKDIR}/lpreserver
+USES= pkgconfig tar:xz
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+IGNORE= requires FreeBSD 10 or later
+.endif
+
+do-install:
+ cd ${WRKSRC} && make install PREFIX=${STAGEDIR}${PREFIX}
+
+post-install:
+ PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>