diff options
-rw-r--r-- | net/beacon/Makefile | 1 | ||||
-rw-r--r-- | net/beacon/pkg-plist | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/beacon/Makefile b/net/beacon/Makefile index b690085f3f74..75f0b9ce558d 100644 --- a/net/beacon/Makefile +++ b/net/beacon/Makefile @@ -7,6 +7,7 @@ PORTNAME= beacon PORTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= net perl5 mbone ipv6 MASTER_SITES= SF/multicastbeacon/multicastbeacon/beacon%20v${PORTVERSION} diff --git a/net/beacon/pkg-plist b/net/beacon/pkg-plist index b3e8ac8df098..a413d1ad25a4 100644 --- a/net/beacon/pkg-plist +++ b/net/beacon/pkg-plist @@ -9,7 +9,9 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/perllocal.pod @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/ @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net bin/beacon +@unexec if cmp -s %D/etc/beacon.conf.sample %D/etc/beacon.conf; then rm -f %D/etc/beacon.conf; fi etc/beacon.conf.sample +@exec if [ ! -f %D/etc/beacon.conf ] ; then cp -p %D/%F %B/beacon.conf; fi %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% etc/rc.d/beacon |