svn commit: r368524 - head/lang/dlv

Antoine Brodin antoine at FreeBSD.org
Thu Sep 18 20:44:32 UTC 2014


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 at 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>


More information about the svn-ports-head mailing list