Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/barnyard2/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 17 Jan 2010 19:55:01 -0000 1.3 +++ Makefile 4 Jul 2010 21:31:31 -0000 @@ -6,7 +6,7 @@ # PORTNAME= barnyard2 -PORTVERSION= 1.7 +PORTVERSION= 1.8 CATEGORIES= security MASTER_SITES= http://www.securixlive.com/download/barnyard2/ @@ -42,10 +42,13 @@ pre-install: ${CHMOD} 744 ${WRKSRC}/install-sh +post-patch: + @${REINPLACE_CMD} 's|/etc|${LOCALBASE}/etc|' \ + ${WRKSRC}/etc/barnyard2.conf + post-install: .for f in barnyard2.conf - ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}-sample [ -f ${PREFIX}/etc/${f} ] || \ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f} .endfor Index: distinfo =================================================================== RCS file: /home/pcvs/ports/security/barnyard2/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 17 Jan 2010 13:55:14 -0000 1.2 +++ distinfo 4 Jul 2010 21:31:31 -0000 @@ -1,3 +1,3 @@ -MD5 (barnyard2-1.7.tar.gz) = 6801649c45287799354e0a458af737ef -SHA256 (barnyard2-1.7.tar.gz) = a9bd56c2887111f3c114e82fc9277ee759a5005374081136e76d950ff390fd1b -SIZE (barnyard2-1.7.tar.gz) = 652605 +MD5 (barnyard2-1.8.tar.gz) = 72fc6c490db6ea6a0f46c27d24998067 +SHA256 (barnyard2-1.8.tar.gz) = 1abfe6530d721debd98921421722b02c844c289564730b1e85729e4915b2bb7a +SIZE (barnyard2-1.8.tar.gz) = 654290 Index: files/patch-etc-Makefile.in =================================================================== RCS file: files/patch-etc-Makefile.in diff -N files/patch-etc-Makefile.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-etc-Makefile.in 4 Jul 2010 21:31:31 -0000 @@ -0,0 +1,11 @@ +--- etc/Makefile.in.orig 2010-07-04 13:17:33.000000000 -0400 ++++ etc/Makefile.in 2010-07-04 13:18:42.000000000 -0400 +@@ -249,7 +249,7 @@ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \ ++ $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)/$$files-sample" || exit $$?; \ + done + + uninstall-sysconfDATA: