mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
cf118ccf87
Reported by: lwhsu
34 lines
920 B
Makefile
34 lines
920 B
Makefile
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>
|