aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-20 16:45:05 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-20 16:45:05 +0800
commitf01cc27facf50cb0039609b675b1a0c26dc30678 (patch)
treef9ae883de76bb2a869f66a0f0e17766ddcf2e41f /net-mgmt
parent7ab89968d35d9e3112b78e07ebf0485a949bf01c (diff)
downloadfreebsd-ports-graphics-f01cc27facf50cb0039609b675b1a0c26dc30678.tar.gz
freebsd-ports-graphics-f01cc27facf50cb0039609b675b1a0c26dc30678.tar.zst
freebsd-ports-graphics-f01cc27facf50cb0039609b675b1a0c26dc30678.zip
Stagify.
Approved by: portmgr@
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/aggregate/Makefile7
-rw-r--r--net-mgmt/aggregate/files/patch-Makefile.in21
2 files changed, 22 insertions, 6 deletions
diff --git a/net-mgmt/aggregate/Makefile b/net-mgmt/aggregate/Makefile
index e64b335bd79..2ad1f03d695 100644
--- a/net-mgmt/aggregate/Makefile
+++ b/net-mgmt/aggregate/Makefile
@@ -12,9 +12,10 @@ MAINTAINER= jabley@automagic.org
COMMENT= Optimise a list of route prefixes to help make nice short filters
GNU_CONFIGURE= yes
+USES= shebangfix
+SHEBANG_FILES= aggregate-ios
-PLIST_FILES= bin/aggregate bin/aggregate-ios
-MAN1= aggregate.1 aggregate-ios.1
+PLIST_FILES= bin/aggregate bin/aggregate-ios \
+ man/man1/aggregate.1.gz man/man1/aggregate-ios.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/net-mgmt/aggregate/files/patch-Makefile.in b/net-mgmt/aggregate/files/patch-Makefile.in
index 6befa62f5f1..f2de4000b1b 100644
--- a/net-mgmt/aggregate/files/patch-Makefile.in
+++ b/net-mgmt/aggregate/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Fri Nov 2 10:49:52 2001
-+++ Makefile.in Fri Nov 2 12:04:11 2001
-@@ -25,7 +25,6 @@
+--- Makefile.in.orig 2002-03-07 00:59:37.000000000 +0800
++++ Makefile.in 2014-06-20 16:42:05.475964834 +0800
+@@ -25,7 +25,6 @@ CC = @CC@
INSTALL = @INSTALL@
DEFS = @DEFS@
LIBS = @LIBS@
@@ -8,3 +8,18 @@
LDFLAGS = -s
prefix = @prefix@
+@@ -41,10 +40,10 @@ clean:
+ rm -f *.o
+
+ install: $(PROGS)
+- $(INSTALL) -m 0755 aggregate $(prefix)/bin/
+- $(INSTALL) -m 0644 aggregate.1 $(prefix)/man/man1/
+- $(INSTALL) -m 0755 aggregate-ios $(prefix)/bin/
+- $(INSTALL) -m 0644 aggregate-ios.1 $(prefix)/man/man1/
++ $(INSTALL) -m 0755 aggregate $(DESTDIR)$(prefix)/bin/
++ $(INSTALL) -m 0644 aggregate.1 $(DESTDIR)$(prefix)/man/man1/
++ $(INSTALL) -m 0755 aggregate-ios $(DESTDIR)$(prefix)/bin/
++ $(INSTALL) -m 0644 aggregate-ios.1 $(DESTDIR)$(prefix)/man/man1/
+
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<