aboutsummaryrefslogtreecommitdiff
path: root/devel/easygit/Makefile
blob: bd1e613a068b0d7db89e1d3e4ec591d06f8f1363 (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
PORTNAME=	easygit
PORTVERSION=	0.98
CATEGORIES=	devel
MASTER_SITES=	http://www.gnome.org/~newren/eg/download/${PORTVERSION}/
DISTNAME=	eg
EXTRACT_SUFX=	# none

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Easy wrapper for git
WWW=		http://www.gnome.org/~newren/eg/

RUN_DEPENDS=	git:devel/git

DISTREVISION=	0 # bump this if distfile is changed inplace

DIST_SUBDIR=	eg/${PORTVERSION}_${DISTREVISION}
USES=		perl5 shebangfix
SHEBANG_FILES=	${WRKSRC}/eg
USE_PERL5=	run
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/eg bin/easygit

CONFLICTS_INSTALL=	go-tools

do-extract:
	@${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/eg ${STAGEDIR}${PREFIX}/bin/
	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ./eg ${STAGEDIR}${PREFIX}/bin/easygit

.include <bsd.port.mk>