1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Respect CC/CFLAGS

- Use USE_GITHUB
- Add LICENSE
- Support staging

PR:		ports/184869
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Pawel Pekala 2013-12-25 11:24:39 +00:00
parent 5ac9c8c021
commit 084900cf43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337405
2 changed files with 15 additions and 9 deletions

View File

@ -4,19 +4,25 @@
PORTNAME= pit
PORTVERSION= 0.1.0
CATEGORIES= devel
MASTER_SITES= http://github.com/michaeldv/${PORTNAME}/tarball/
DISTNAME= ${PORTVERSION}
EXTRACT_SUFX= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line project manager that integrates with Git
FETCH_ARGS= -pRr
WRKSRC= "${WRKDIR}/michaeldv-${PORTNAME}-fd6b3ef"
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= michaeldv
GH_COMMIT= fd6b3ef
PLIST_FILES= bin/pit
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|CC =|CC ?=| ; \
s|$$(CC) -o|$$(CC) $$(CFLAGS) -o|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pit ${PREFIX}/bin
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pit ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (0.1.0) = aaa10ee27a5e9add2b5973acab6205e88c8c56c754df6856965b40a22985114c
SIZE (0.1.0) = 23246
SHA256 (pit-0.1.0.tar.gz) = aaa10ee27a5e9add2b5973acab6205e88c8c56c754df6856965b40a22985114c
SIZE (pit-0.1.0.tar.gz) = 23246