summaryrefslogtreecommitdiff
path: root/sysutils/samdruckerclientshell/Makefile
blob: 026774d1a1ff0fc29328d01a2239c499cd456d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

PORTNAME=	SamDruckerClientShell
PORTVERSION=	0.2.6
CATEGORIES=	sysutils
MASTER_SITES=   GH

MAINTAINER=	dvl@FreeBSD.org
COMMENT=	Client for sending package information to SamDrucker

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	dlangille
GH_PROJECT=	SamDrucker

NO_BUILD=	YES

SUB_FILES=	999-samdrucker-client

RUN_DEPENDS+=	curl>0:ftp/curl
RUN_DEPENDS+=	jo>0:textproc/jo

.include <bsd.port.pre.mk>

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/samdrucker
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/clients/samdrucker.sh
	${INSTALL_SCRIPT} ${WRKSRC}/clients/samdrucker.sh  ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKDIR}/999-samdrucker-client  ${STAGEDIR}${PREFIX}/etc/periodic/daily
	${INSTALL_DATA}   ${WRKSRC}/clients/samdrucker.conf.sample ${STAGEDIR}${PREFIX}/etc/samdrucker

.include <bsd.port.post.mk>