Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 00:20:09 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412702 - head/comms/kvasd
Message-ID:  <201604080020.u380K9oM084611@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Fri Apr  8 00:20:09 2016
New Revision: 412702
URL: https://svnweb.freebsd.org/changeset/ports/412702

Log:
  Copy the dist file into WRKSRC and run BRANDELF there
  Install using the default BINMODE
  Bump PORTREVISION so it becomes executable for users

Modified:
  head/comms/kvasd/Makefile

Modified: head/comms/kvasd/Makefile
==============================================================================
--- head/comms/kvasd/Makefile	Fri Apr  8 00:14:20 2016	(r412701)
+++ head/comms/kvasd/Makefile	Fri Apr  8 00:20:09 2016	(r412702)
@@ -2,6 +2,7 @@
 
 PORTNAME=	kvasd
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	comms hamradio
 MASTER_SITES=	https://svn.code.sf.net/p/wsjt/wsjt/trunk/kvasd-binary/Linux/ \
 		LOCAL/db
@@ -24,10 +25,11 @@ NO_BUILD=	yes
 PLIST_FILES=	bin/kvasd
 
 do-extract:
+		${MKDIR} ${WRKSRC}
+		${CP} ${DISTDIR}/kvasd ${WRKSRC}
 
-BINMODE=	0644
 do-install:
+		${BRANDELF} -t Linux ${WRKSRC}/kvasd
 		${INSTALL_KLD} ${DISTDIR}/kvasd ${STAGEDIR}${PREFIX}/bin
-		${BRANDELF} -t Linux ${STAGEDIR}${PREFIX}/bin/kvasd
 
 .include <bsd.port.mk>



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