1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Add STAGEDIR support.

- Remove MAKE_JOBS_UNSAFE.
- Take maintainership.
This commit is contained in:
Hiroki Sato 2013-10-17 06:11:39 +00:00
parent 8f4e4480e0
commit b6128b71dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330603
4 changed files with 74 additions and 13 deletions

View File

@ -7,25 +7,17 @@ PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
MAINTAINER= hrs@FreeBSD.org
COMMENT= IPv6 multicast routing daemons and tools
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake aclocal autoconf
AUTOMAKE_ARGS= --add-missing
CONFIGURE_ARGS=
CONFIGURE_ENV=
CONFIGURE_ARGS= YACC=${YACC}
MAN1= mcastread.1 mcastsend.1 pim6stat.1 pmsft.1
MAN5= pim6dd.conf.5 pim6sd.conf.5
MAN8= mfc.8 mtrace6.8 pim6dd.8 pim6sd.8
NO_STAGE= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${PREFIX}/etc
${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>

View File

@ -0,0 +1,29 @@
--- mfc/Makefile.am.orig 2005-12-11 14:15:10.000000000 +0900
+++ mfc/Makefile.am 2013-10-17 13:52:36.000000000 +0900
@@ -9,15 +9,19 @@
# Config file parser (this is necessary because not all yacc generate y.tab.h)
cftoken.o: cftoken.c cfparse.h
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ cftoken.c
cfparse.o: cfparse.c
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ $?
cftoken.c: cftoken.l
- $(LEX) -ocftoken.c $<
+ $(LEX) -o$@ $?
-cfparse.h cfparse.c: cfparse.y
- $(YACC) -d $< && \
- mv y.tab.c cfparse.c && \
- mv y.tab.h cfparse.h
+y.tab.h y.tab.c: cfparse.y
+ $(YACC) -d $?
+
+cfparse.h: y.tab.h
+ mv y.tab.h $@
+
+cfparse.c: y.tab.c
+ mv y.tab.c $@

View File

@ -0,0 +1,29 @@
--- pim6sd/Makefile.am.orig 2005-12-11 14:15:12.000000000 +0900
+++ pim6sd/Makefile.am 2013-10-17 13:54:42.000000000 +0900
@@ -12,15 +12,19 @@
# Config file parser (this is necessary because not all yacc generate y.tab.h)
cftoken.o: cftoken.c cfparse.h
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ cftoken.c
cfparse.o: cfparse.c
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ $?
cftoken.c: cftoken.l
- $(LEX) -ocftoken.c $<
+ $(LEX) -o$@ $?
-cfparse.h cfparse.c: cfparse.y
- $(YACC) -d $< && \
- mv y.tab.c cfparse.c && \
- mv y.tab.h cfparse.h
+y.tab.c y.tab.h: cfparse.y
+ $(YACC) -d $?
+
+cfparse.h: y.tab.h
+ mv y.tab.h $@
+
+cfparse.c: y.tab.c
+ mv y.tab.c $@

View File

@ -1,3 +1,4 @@
@comment $FreeBSD$
etc/pim6sd.conf.sample
etc/pim6dd.conf.sample
etc/mfc.conf.sample
@ -9,3 +10,13 @@ sbin/mfc
sbin/pim6dd
sbin/pim6sd
sbin/pim6stat
man/man1/mcastread.1.gz
man/man1/mcastsend.1.gz
man/man1/pim6stat.1.gz
man/man1/pmsft.1.gz
man/man5/pim6dd.conf.5.gz
man/man5/pim6sd.conf.5.gz
man/man8/mfc.8.gz
man/man8/mtrace6.8.gz
man/man8/pim6dd.8.gz
man/man8/pim6sd.8.gz