Add management for etc/hpack.cfg.

This commit is contained in:
Jimmy Olgeni 2001-06-17 10:55:03 +00:00
parent fe7174cee9
commit 9989759a20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44101
2 changed files with 6 additions and 1 deletions

View File

@ -24,4 +24,7 @@ post-patch:
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${f} @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${f}
.endfor .endfor
post-install:
@${CP} ${WRKSRC}/docs/hpack.cfg ${PREFIX}/etc/hpack.cfg.dist
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
bin/hpack bin/hpack
bin/keycvt bin/keycvt
etc/hpack.cfg @unexec if cmp -s %D/etc/hpack.cfg %D/etc/hpack.cfg.dist; then rm -f %D/etc/hpack.cfg; fi
etc/hpack.cfg.dist
@exec [ -f %B/hpack.cfg ] || cp %B/%f %B/hpack.cfg
lib/hpack/language.dat lib/hpack/language.dat
@dirrm lib/hpack @dirrm lib/hpack