Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 20:06:37 +0000 (UTC)
From:      Lars Thegler <lth@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359416 - head/devel/easygit
Message-ID:  <201406262006.s5QK6bIX088866@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lth
Date: Thu Jun 26 20:06:37 2014
New Revision: 359416
URL: http://svnweb.freebsd.org/changeset/ports/359416
QAT: https://qat.redports.org/buildarchive/r359416/

Log:
  - Added stage support [1]
  - Drop maintainership
  
  PR:		191289 [1]
  Submitted by:	joe@thrallingpenguin.com

Modified:
  head/devel/easygit/Makefile

Modified: head/devel/easygit/Makefile
==============================================================================
--- head/devel/easygit/Makefile	Thu Jun 26 20:04:03 2014	(r359415)
+++ head/devel/easygit/Makefile	Thu Jun 26 20:06:37 2014	(r359416)
@@ -9,21 +9,22 @@ DISTNAME=	eg
 EXTRACT_SUFX=	# none
 EXTRACT_ONLY=	# none
 
-MAINTAINER=	lth@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Easy wrapper for git
 
 RUN_DEPENDS=	git:${PORTSDIR}/devel/git
 
 DIST_SUBDIR=	eg/${PORTVERSION}_${PORTREVISION}
-USES=		perl5
+USES=		perl5 shebangfix
+SHEBANG_FILES=	${_DISTDIR}/eg
 USE_PERL5=	run
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_FILES=	bin/eg bin/easygit
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${_DISTDIR}/eg ${PREFIX}/bin/
-	${LN} -s ${PREFIX}/bin/eg ${PREFIX}/bin/easygit
+	${MKDIR} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${_DISTDIR}/eg ${STAGEDIR}${PREFIX}/bin/
+	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ./eg ${STAGEDIR}${PREFIX}/bin/easygit
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406262006.s5QK6bIX088866>