blob: c625761cbfdfac914aaa378b7b3ef54e859d4bea (
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
|
# Created by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
# $FreeBSD$
PORTNAME= reposado
PORTVERSION= 0.0.20150131
CATEGORIES= net
MAINTAINER= masaki@club.kyutech.ac.jp
COMMENT= Tools for replicating the Apple's Software Update Service
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= wdas
GH_TAGNAME= 6d62d49
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= distutils
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
${WRKSRC}/code/reposadolib/reposadocommon.py
@${REINPLACE_CMD} -e "s,%%PORTVERSION%%,${PORTVERSION},g" \
${WRKSRC}/setup.py
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|