From e0040acefe6c9e895890fc8483f26f237cd4a3f8 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 10 Aug 2014 00:12:35 +0000 Subject: [PATCH] net/svnup: Use @sample keyword in pkg-plist PR: 192078 Submitted by: takefu (airport.fm) Approved by: maintainer timeout (2 weeks) --- net/svnup/Makefile | 5 +++-- net/svnup/pkg-plist | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/svnup/Makefile b/net/svnup/Makefile index d2b79615287a..2fc2ca5bdfd5 100644 --- a/net/svnup/Makefile +++ b/net/svnup/Makefile @@ -9,12 +9,13 @@ MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ MAINTAINER= jcm@visi.com COMMENT= Lightweight program to pull source from an Apache Subversion server -OPTIONS_DEFINE= DOCS - LICENSE= BSD2CLAUSE +OPTIONS_DEFINE= DOCS + LDFLAGS+= -lmd -lssl USES= tar:xz + PORTDOCS= ChangeLog post-patch: diff --git a/net/svnup/pkg-plist b/net/svnup/pkg-plist index 14f0602f7a29..692b5543991a 100644 --- a/net/svnup/pkg-plist +++ b/net/svnup/pkg-plist @@ -1,6 +1,4 @@ bin/svnup man/man1/svnup.1.gz man/man5/svnup.conf.5.gz -@unexec if cmp -s %D/etc/svnup.conf.sample %D/etc/svnup.conf; then rm -f %D/etc/svnup.conf; else echo "If permanently removing this package, then please consider removing %D/etc/svnup.conf" ;fi -etc/svnup.conf.sample -@exec if [ ! -f %D/etc/svnup.conf ] ; then cp -p %D/etc/svnup.conf.sample %D/etc/svnup.conf; fi +@sample etc/svnup.conf.sample