freebsd-ports/sysutils/life-preserver/Makefile

34 lines
758 B
Makefile
Raw Normal View History

# 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>