svn commit: r330600 - in head/net/mrouted: . files
Hiroki Sato
hrs at FreeBSD.org
Thu Oct 17 04:01:02 UTC 2013
Author: hrs
Date: Thu Oct 17 04:01:01 2013
New Revision: 330600
URL: http://svnweb.freebsd.org/changeset/ports/330600
Log:
Add STAGEDIR support.
Modified:
head/net/mrouted/Makefile
head/net/mrouted/files/patch-Makefile
Modified: head/net/mrouted/Makefile
==============================================================================
--- head/net/mrouted/Makefile Thu Oct 17 03:41:22 2013 (r330599)
+++ head/net/mrouted/Makefile Thu Oct 17 04:01:01 2013 (r330600)
@@ -18,16 +18,17 @@ USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ARGS= sysconfdir=${PREFIX}/etc \
mandir=${MAN8PREFIX}/man/man8
-
-MAN8= map-mbone.8 mrouted.8 mrinfo.8 mtrace.8
PORTDOCS= README AUTHORS ChangeLog
-
PLIST_FILES= sbin/map-mbone sbin/mrouted sbin/mrinfo sbin/mtrace \
- etc/mrouted.conf
+ etc/mrouted.conf man/man8/map-mbone.8.gz \
+ man/man8/mrinfo.8.gz man/man8/mrouted.8.gz \
+ man/man8/mtrace.8.gz
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-.ifdef NOPORTDOCS
-MAKE_ARGS+= datadir=${WRKDIR}/doc
+.if ${PORT_OPTIONS:MDOCS}
+MAKE_ARGS+= datadir=${DOCSDIR} doc=yes
.endif
-NO_STAGE= yes
.include <bsd.port.mk>
Modified: head/net/mrouted/files/patch-Makefile
==============================================================================
--- head/net/mrouted/files/patch-Makefile Thu Oct 17 03:41:22 2013 (r330599)
+++ head/net/mrouted/files/patch-Makefile Thu Oct 17 04:01:01 2013 (r330600)
@@ -1,5 +1,5 @@
---- Makefile.orig 2013-01-02 08:02:25.000000000 +0900
-+++ Makefile 2013-01-02 08:02:30.000000000 +0900
+--- Makefile.orig 2011-10-23 17:03:36.000000000 +0900
++++ Makefile 2013-10-17 12:59:19.000000000 +0900
@@ -51,7 +51,7 @@
$(MTRACE_OBJS) $(MSTAT_OBJS)
SRCS = $(OBJS:.o=.c)
@@ -9,3 +9,19 @@
LINT = splint
LINTFLAGS = $(MCAST_INCLUDE) $(filter-out -W -Wall -Werror, $(CFLAGS)) -posix-lib -weak -skipposixheaders
+@@ -70,13 +70,13 @@
+ install: $(EXECS)
+ @install -d $(DESTDIR)$(prefix)/sbin
+ @install -d $(DESTDIR)$(sysconfdir)
+- @install -d $(DESTDIR)$(datadir)
++ @[ -z "${doc}" ] || install -d $(DESTDIR)$(datadir)
+ @install -d $(DESTDIR)$(mandir)
+ @for file in $(EXECS); do \
+ install -m 0755 $$file $(DESTDIR)$(prefix)/sbin/$$file; \
+ done
+ @install -b -m 0644 $(CONFIG) $(DESTDIR)$(sysconfdir)/$(CONFIG)
+- @for file in $(DISTFILES); do \
++ @[ -z "${doc}" ] || for file in $(DISTFILES); do \
+ install -m 0644 $$file $(DESTDIR)$(datadir)/$$file; \
+ done
+ @for file in $(MANS); do \
More information about the svn-ports-all
mailing list