aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lnphost
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-11 05:10:20 +0800
committerantoine <antoine@FreeBSD.org>2014-09-11 05:10:20 +0800
commitd01f3458bd0092bbc568bbff0f8009dc40c170ca (patch)
treed68fd9697116c534c3fa9fe73a0056521a273567 /devel/lnphost
parentffe2bc5d5781a92512a222fe2655265ee621d8d5 (diff)
downloadfreebsd-ports-gnome-d01f3458bd0092bbc568bbff0f8009dc40c170ca.tar.gz
freebsd-ports-gnome-d01f3458bd0092bbc568bbff0f8009dc40c170ca.tar.zst
freebsd-ports-gnome-d01f3458bd0092bbc568bbff0f8009dc40c170ca.zip
Allow staging as a regular user
Diffstat (limited to 'devel/lnphost')
-rw-r--r--devel/lnphost/Makefile3
-rw-r--r--devel/lnphost/files/patch-Makefile8
2 files changed, 4 insertions, 7 deletions
diff --git a/devel/lnphost/Makefile b/devel/lnphost/Makefile
index 2c7965eac91c..dc241e77b3e3 100644
--- a/devel/lnphost/Makefile
+++ b/devel/lnphost/Makefile
@@ -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>
diff --git a/devel/lnphost/files/patch-Makefile b/devel/lnphost/files/patch-Makefile
index 95c92e149f4f..7465e0bd2402 100644
--- a/devel/lnphost/files/patch-Makefile
+++ b/devel/lnphost/files/patch-Makefile
@@ -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