50f8eaece1
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)
41 lines
907 B
Makefile
41 lines
907 B
Makefile
# Created by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= reposado
|
|
PORTVERSION= 0.0.20130415
|
|
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_COMMIT= ${GH_TAGNAME}
|
|
GH_PROJECT= ${PORTNAME}
|
|
GH_TAGNAME= 1bcf4f0
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
NO_STAGE= yes
|
|
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:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR} &&\
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|