Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 20:44:32 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368524 - head/lang/dlv
Message-ID:  <201409182044.s8IKiWIu053957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 18 20:44:32 2014
New Revision: 368524
URL: http://svnweb.freebsd.org/changeset/ports/368524
QAT: https://qat.redports.org/buildarchive/r368524/

Log:
  Allow staging as a regular user

Modified:
  head/lang/dlv/Makefile

Modified: head/lang/dlv/Makefile
==============================================================================
--- head/lang/dlv/Makefile	Thu Sep 18 20:37:43 2014	(r368523)
+++ head/lang/dlv/Makefile	Thu Sep 18 20:44:32 2014	(r368524)
@@ -11,17 +11,18 @@ EXTRACT_SUFX=
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Disjunctive Datalog System
 
-NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+EXTRACT_CMD=	${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS=	${WRKSRC}
 PLIST_FILES=	bin/dlv
 ONLY_FOR_ARCHS=	i386 amd64
 RESTRICTED=	Not sure if we can redistribute it
 
-do-extract:
-	${RM} -rf ${WRKDIR}
-	${MKDIR} ${WRKDIR}
+do-build:
+	${BRANDELF} -t Linux ${WRKSRC}/${DISTNAME}
 
 do-install:
-	${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/dlv
-	${BRANDELF} -t Linux ${STAGEDIR}${PREFIX}/bin/dlv
+	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/dlv
 
 .include <bsd.port.mk>



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