blob: aaf14a0cab8b36542df9a252ddbb0b3392b91cb6 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
|
# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= feather
PORTVERSION= 1.3.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils python
MAINTAINER= ports@FreeBSD.org
COMMENT= Python script for managing tarsnap backups
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml \
tarsnap>=0:sysutils/tarsnap
USES= python:2,run
NO_BUILD= yes
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= danrue
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= README.md
PORTEXAMPLES= feather.cron.d.example
PLIST_FILES= bin/feather etc/feather.yaml.dist
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/feather ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/feather.yaml.dist ${STAGEDIR}${PREFIX}/etc
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|