Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 21:10:21 +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: r367893 - in head/devel/lnphost: . files
Message-ID:  <201409102110.s8ALAL1F070129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Sep 10 21:10:20 2014
New Revision: 367893
URL: http://svnweb.freebsd.org/changeset/ports/367893
QAT: https://qat.redports.org/buildarchive/r367893/

Log:
  Allow staging as a regular user

Modified:
  head/devel/lnphost/Makefile
  head/devel/lnphost/files/patch-Makefile

Modified: head/devel/lnphost/Makefile
==============================================================================
--- head/devel/lnphost/Makefile	Wed Sep 10 21:04:55 2014	(r367892)
+++ head/devel/lnphost/Makefile	Wed Sep 10 21:10:20 2014	(r367893)
@@ -26,7 +26,4 @@ MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 post-patch:
 	${RM} ${WRKSRC}/Include/getopt.h ${WRKSRC}/Modules/getopt.c
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lnpdump
-
 .include <bsd.port.mk>

Modified: head/devel/lnphost/files/patch-Makefile
==============================================================================
--- head/devel/lnphost/files/patch-Makefile	Wed Sep 10 21:04:55 2014	(r367892)
+++ head/devel/lnphost/files/patch-Makefile	Wed Sep 10 21:10:20 2014	(r367893)
@@ -36,10 +36,10 @@
 -	install -g root -o root -m 644 Docs/lnpdump.1.gz $(MANDIR)
 -	install -g root -o root -m 755 lnpdump$(EXT) $(BINDIR)
 +	${MAKE} -C Docs all
-+	install -g 0 -o 0 -m 644 Docs/lnpdump.1 $(MANDIR)
-+	install -g 0 -o 0 -m 755 lnpdump$(EXT) $(BINDIR)
-+	install -g 0 -o 0 -m 0644 lnphost.a $(LIBDIR)
-+	install -g 0 -o 0 -m 0644 Include/lnphost.h $(INCDIR)
++	$(BSD_INSTALL_MAN) Docs/lnpdump.1 $(MANDIR)
++	$(BSD_INSTALL_PROGRAM) lnpdump$(EXT) $(BINDIR)
++	$(BSD_INSTALL_DATA) lnphost.a $(LIBDIR)
++	$(BSD_INSTALL_DATA) Include/lnphost.h $(INCDIR)
  
  remove: needroot
 -	rm -f $(MANDIR)/lnpdump.1.gz



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