Changeset View
Changeset View
Standalone View
Standalone View
devel/hg-git/Makefile
# Created by: Marco Broeder <marco.broeder@posteo.eu> | # Created by: Marco Broeder <marco.broeder@posteo.eu> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= hg-git | PORTNAME= hg-git | ||||
PORTVERSION= 0.8.6 | DISTVERSION= 0.8.9 | ||||
tcberner: You could probably change this to DISTVERSION while here | |||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= http://bitbucket.org/durin42/${PORTNAME}/get/ | MASTER_SITES= http://bitbucket.org/durin42/${PORTNAME}/get/ | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
DISTNAME= ${PORTVERSION} | DISTNAME= ${PORTVERSION} | ||||
MAINTAINER= marco.broeder@posteo.eu | MAINTAINER= marco.broeder@posteo.eu | ||||
COMMENT= Mercurial extension to pull from or push to a Git repository | COMMENT= Mercurial extension to pull from or push to a Git repository | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=*:devel/dulwich \ | RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=*:devel/dulwich \ | ||||
tcbernerUnsubmitted Not Done Inline Actions^ that PKGNAMEPREFIX also looks rather strange -- I think it would be better to use ${PYTHON_PKGNAMEPREFIX} directly as usual. tcberner: ^ that PKGNAMEPREFIX also looks rather strange -- I think it would be better to use… | |||||
mercurial>=*:devel/mercurial | mercurial>=*:devel/mercurial | ||||
PORTDOCS= README.md | PORTDOCS= README.md | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
WRKSRC= ${WRKDIR}/durin42-${PORTNAME}-1bd9d9a0201c | WRKSRC= ${WRKDIR}/durin42-${PORTNAME}-88de3215e138 | ||||
USES= python:2.7 | USES= python:2.7 | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/) | (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
You could probably change this to DISTVERSION while here