aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/babeld/Makefile14
-rw-r--r--net/babeld/distinfo4
-rw-r--r--net/babeld/files/patch-Makefile26
3 files changed, 12 insertions, 32 deletions
diff --git a/net/babeld/Makefile b/net/babeld/Makefile
index 9ac23d380eb4..3da455cc2c73 100644
--- a/net/babeld/Makefile
+++ b/net/babeld/Makefile
@@ -2,16 +2,22 @@
# $FreeBSD$
PORTNAME= babeld
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3
CATEGORIES= net
MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/
MAINTAINER= gaod@hychen.org
COMMENT= Distance-vector routing protocol
-PLIST_FILES= bin/babeld
+LICENSE= MIT
-MAN8= babeld.8
+MAKE_ARGS= CDEBUGFLAGS="-O2 -g -Wall"
+
+PLIST_FILES= bin/babeld \
+ man/man8/babeld.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/babeld ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/babeld.man ${STAGEDIR}${PREFIX}/man/man8/babeld.8
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/net/babeld/distinfo b/net/babeld/distinfo
index f80e7b779253..20014dcfb4a4 100644
--- a/net/babeld/distinfo
+++ b/net/babeld/distinfo
@@ -1,2 +1,2 @@
-SHA256 (babeld-1.4.2.tar.gz) = fc50f2bd2d31ba39a8ebee918ce2aad351cc69b1162e0f0e9371c1122c1152f8
-SIZE (babeld-1.4.2.tar.gz) = 70648
+SHA256 (babeld-1.4.3.tar.gz) = d0b80fa9714591b13bb695af32b5116e21286687df5f2e814cf4f57ecf030ba3
+SIZE (babeld-1.4.3.tar.gz) = 71061
diff --git a/net/babeld/files/patch-Makefile b/net/babeld/files/patch-Makefile
deleted file mode 100644
index 3489451d109c..000000000000
--- a/net/babeld/files/patch-Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig 2012-07-30 15:04:33.000000000 +0800
-+++ Makefile 2012-07-30 15:05:21.000000000 +0800
-@@ -1,6 +1,6 @@
- PREFIX = /usr/local
-
--CDEBUGFLAGS = -Os -g -Wall
-+CDEBUGFLAGS = -O2 -g -Wall
-
- DEFINES = $(PLATFORM_DEFINES)
-
-@@ -33,13 +33,10 @@
- all: babeld babeld.man
-
- install.minimal: babeld
-- -rm -f $(TARGET)$(PREFIX)/bin/babeld
-- mkdir -p $(TARGET)$(PREFIX)/bin
-- cp -f babeld $(TARGET)$(PREFIX)/bin
-+ cp -f babeld $(PREFIX)/bin
-
- install: install.minimal all
-- mkdir -p $(TARGET)$(PREFIX)/man/man8
-- cp -f babeld.man $(TARGET)$(PREFIX)/man/man8/babeld.8
-+ cp -f babeld.man $(PREFIX)/man/man8/babeld.8
-
- uninstall:
- -rm -f $(TARGET)$(PREFIX)/bin/babeld