Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 12:39:14 +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: r368089 - in head/math/dcdflib: . files
Message-ID:  <201409131239.s8DCdErm095346@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep 13 12:39:14 2014
New Revision: 368089
URL: http://svnweb.freebsd.org/changeset/ports/368089
QAT: https://qat.redports.org/buildarchive/r368089/

Log:
  Allow staging as a regular user

Deleted:
  head/math/dcdflib/files/patch-Makefile
Modified:
  head/math/dcdflib/Makefile
  head/math/dcdflib/files/Makefile.lib

Modified: head/math/dcdflib/Makefile
==============================================================================
--- head/math/dcdflib/Makefile	Sat Sep 13 12:28:04 2014	(r368088)
+++ head/math/dcdflib/Makefile	Sat Sep 13 12:39:14 2014	(r368089)
@@ -11,7 +11,9 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library of C Routines for Cumulative Distribution Functions
 
 WRKSRC=		${WRKDIR}/dcdflib.c/src
+USES=		uidfix
 USE_LDCONFIG=	yes
+MAKEFILE=	${FILESDIR}/Makefile.lib
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/.c//}
 OPTIONS_DEFINE= DOCS
 
@@ -21,9 +23,6 @@ PLIST_SUB+=	PROFILE="@comment "
 PLIST_SUB+=	PROFILE=""
 .endif
 
-post-extract:
-	@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.chs ${STAGEDIR}${DOCSDIR}

Modified: head/math/dcdflib/files/Makefile.lib
==============================================================================
--- head/math/dcdflib/files/Makefile.lib	Sat Sep 13 12:28:04 2014	(r368088)
+++ head/math/dcdflib/files/Makefile.lib	Sat Sep 13 12:39:14 2014	(r368089)
@@ -10,7 +10,7 @@ SRCS=		dcdflib.c ipmpar.c
 CFLAGS?=	-O2
 
 beforeinstall:
-	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/../doc/dcdflib.h \
-		${PREFIX}/include
+	${BSD_INSTALL_DATA} ${.CURDIR}/../doc/dcdflib.h \
+		${DESTDIR}${PREFIX}/include
 
 .include <bsd.lib.mk>



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