mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
5ae8688c07
With hat: portmgr
41 lines
906 B
Makefile
41 lines
906 B
Makefile
# Created by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= reposado
|
|
PORTVERSION= 0.0.20160422
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= masaki@club.kyutech.ac.jp
|
|
COMMENT= Tools for replicating the Apple's Software Update Service
|
|
|
|
RUN_DEPENDS= curl:ftp/curl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wdas
|
|
GH_TAGNAME= de2fdb6
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
DEPRECATED= Uses deprecated version of python
|
|
EXPIRATION_DATE= 2020-09-15
|
|
|
|
USES= python:2.7
|
|
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>
|