Add port template for sysadm

This commit is contained in:
Kris Moore
2015-12-17 14:10:03 -05:00
parent 5583f4d2c0
commit dcee9c38db
4 changed files with 48 additions and 0 deletions

33
port-files/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$
PORTNAME= pcbsd-sysadm
PORTVERSION= %%CHGVERSION%%
CATEGORIES= sysutils
MAINTAINER= kmoore@FreeBSD.org
COMMENT= PC-BSD SysAdm API server
LICENSE= BSD3CLAUSE
RUN_DEPENDS= sipcalc:${PORTSDIR}/net-mgmt/sipcalc \
eject:${PORTSDIR}/sysutils/eject \
unzip:${PORTSDIR}/archivers/unzip
WRKSRC_SUBDIR= src
USE_QT5= core network buildtools qmake
USES= pkgconfig tar:xz qmake
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
USE_GITHUB= yes
GH_ACCOUNT= pcbsd
GH_PROJECT= sysadm
GH_TAGNAME= %%GHTAG%%
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000000
IGNORE= requires FreeBSD 10 or later
.endif
.include <bsd.port.post.mk>

2
port-files/distinfo Normal file
View File

@@ -0,0 +1,2 @@
SHA256 (pcbsd-sysadm-20151217-5583f4d2c00d8326b44f7d39eefd0a90276d7a74_GH0.tar.xz) = 00972329b84a6a4bab0c9bde2ee3f513ce7bdf9a9ef1b3b496241cd4ddf20c54
SIZE (pcbsd-sysadm-20151217-5583f4d2c00d8326b44f7d39eefd0a90276d7a74_GH0.tar.xz) = 37757

3
port-files/pkg-descr Normal file
View File

@@ -0,0 +1,3 @@
PC-BSD SysAdm utility and websocket server
WWW: https://github.com/pcbsd/sysadm

10
port-files/pkg-plist Normal file
View File

@@ -0,0 +1,10 @@
bin/sysadm
bin/sysadm-server
include/sysadm-general.h
include/sysadm-global.h
include/sysadm-lifepreserver.h
include/sysadm-network.h
%%QT_LIBDIR%%/%%QT_LIBDIR%%sysadm.so
%%QT_LIBDIR%%/%%QT_LIBDIR%%sysadm.so.1
%%QT_LIBDIR%%/%%QT_LIBDIR%%sysadm.so.1.0
%%QT_LIBDIR%%/%%QT_LIBDIR%%sysadm.so.1.0.0