aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-09 11:52:53 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-09 11:52:53 +0800
commitdee2c4fd7c2d101f1d44d14a13288a7797a3aeeb (patch)
treede46db0192506b4320d3c9eb5daa56599a8dd59e /net-mgmt
parentcc3854ee53aa6f5d320765736ce100180782f76d (diff)
downloadfreebsd-ports-gnome-dee2c4fd7c2d101f1d44d14a13288a7797a3aeeb.tar.gz
freebsd-ports-gnome-dee2c4fd7c2d101f1d44d14a13288a7797a3aeeb.tar.zst
freebsd-ports-gnome-dee2c4fd7c2d101f1d44d14a13288a7797a3aeeb.zip
Stagify.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/lanmap/Makefile5
-rw-r--r--net-mgmt/lanmap/files/patch-Makefile.in29
2 files changed, 22 insertions, 12 deletions
diff --git a/net-mgmt/lanmap/Makefile b/net-mgmt/lanmap/Makefile
index 6aaff1ca058e..2345723079a1 100644
--- a/net-mgmt/lanmap/Makefile
+++ b/net-mgmt/lanmap/Makefile
@@ -15,8 +15,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USES= zip
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
post-extract:
${CHMOD} 755 ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/lanmap/files/patch-Makefile.in b/net-mgmt/lanmap/files/patch-Makefile.in
index 0c4fd43b67e5..c2031cad500b 100644
--- a/net-mgmt/lanmap/files/patch-Makefile.in
+++ b/net-mgmt/lanmap/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- ./Makefile.in.orig 2006-03-07 15:44:34.000000000 +0100
-+++ ./Makefile.in 2009-01-29 17:49:24.121891519 +0100
-@@ -8,9 +8,10 @@
+--- Makefile.in.orig 2006-03-07 23:44:34.000000000 +0800
++++ Makefile.in 2014-06-09 11:51:38.403957445 +0800
+@@ -8,20 +8,21 @@ prefix = @prefix@
BINARY = lanmap
BINDEST = ${prefix}/bin/
DATADEST = ${prefix}/share/lanmap/
@@ -11,13 +11,24 @@
+ cd ./src && make LANMAP_DATADIR="$(DATADEST)" LANMAP_DATATMP="$(TMPDEST)"
install:
- install -m 0755 ./src/$(BINARY) $(BINDEST)
-@@ -21,7 +22,7 @@
- install -m 0644 ./data/mac_vendor $(DATADEST)data/
- install -m 0644 -d $(DATADEST)graph
- install -m 0644 ./graph/lanmap.header $(DATADEST)graph/
+- install -m 0755 ./src/$(BINARY) $(BINDEST)
+- install -m 0755 -d $(DATADEST)
+- install -m 0755 -d $(DATADEST)data/
+- install -m 0755 -d $(DATADEST)data/graph/
+- install -m 0755 -d $(DATADEST)graph/img/
+- install -m 0644 ./data/mac_vendor $(DATADEST)data/
+- install -m 0644 -d $(DATADEST)graph
+- install -m 0644 ./graph/lanmap.header $(DATADEST)graph/
- for f in ./graph/img/*.{png,gif,svg}; do install -m 0644 $$f $(DATADEST)graph/img/; done
-+ for f in ./graph/img/*.png ./graph/img/*.gif ./graph/img/*.svg; do install -m 0644 $$f $(DATADEST)graph/img/; done
++ install -m 0755 ./src/$(BINARY) $(DESTDIR)$(BINDEST)
++ install -m 0755 -d $(DESTDIR)$(DATADEST)
++ install -m 0755 -d $(DESTDIR)$(DATADEST)data/
++ install -m 0755 -d $(DESTDIR)$(DATADEST)data/graph/
++ install -m 0755 -d $(DESTDIR)$(DATADEST)graph/img/
++ install -m 0644 ./data/mac_vendor $(DESTDIR)$(DATADEST)data/
++ install -m 0644 -d $(DESTDIR)$(DATADEST)graph
++ install -m 0644 ./graph/lanmap.header $(DESTDIR)$(DATADEST)graph/
++ for f in ./graph/img/*.png ./graph/img/*.gif ./graph/img/*.svg; do install -m 0644 $$f $(DESTDIR)$(DATADEST)graph/img/; done
uninstall:
rm $(BINDEST)$(BINARY)