aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pit/Makefile
blob: 6341b9c48b75a1d040d05c77f0d3232034d76af1 (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
# Created by: Eric Freeman <freebsdports@chillibear.com>
# $FreeBSD$

PORTNAME=   pit
PORTVERSION=    0.1.0
CATEGORIES= devel

MAINTAINER= ports@FreeBSD.org
COMMENT=    Command-line project manager that integrates with Git

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_GITHUB= yes
GH_ACCOUNT= michaeldv

PLIST_FILES=    bin/pit

MAKE_JOBS_UNSAFE=   yes

post-patch:
    @${REINPLACE_CMD} -e \
        's|CC =|CC ?=| ; \
         s|$$(CC) -o|$$(CC) $$(CFLAGS) -o|' ${WRKSRC}/Makefile

do-install:
    (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pit ${STAGEDIR}${PREFIX}/bin)

.include <bsd.port.mk>