mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
24674ef073
- Make 'PYVER' construct slightly smaller PR: ports/142272 Submitted by: Marco Broder <marco.broeder@gmx.eu> (maintainer)
31 lines
727 B
Makefile
31 lines
727 B
Makefile
# Ports collection makefile for: hg-git
|
|
# Date created: 2009-10-24
|
|
# Whom: Marco Broeder <marco.broeder@gmx.eu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hg-git
|
|
PORTVERSION= 0.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= marco.broeder@gmx.eu
|
|
COMMENT= Mercurial extension to pull from or push to a Git repository
|
|
|
|
RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=0.4.1:${PORTSDIR}/devel/dulwich \
|
|
hg:${PORTSDIR}/devel/mercurial
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/thon//}
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hg_git-%%VERSION%%-%%PYVER%%.egg
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|