aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-10-07 07:00:14 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-10-07 07:00:14 +0800
commit40df07b8344b26262878d0c02b7d6ee8f22ca4a6 (patch)
tree74d4dc27e02c0b037c44c485c5899b7248bf21a9 /ports-mgmt
parentbfa39e75e26ed8c8cb1da791edc78b31a68156bd (diff)
downloadfreebsd-ports-gnome-40df07b8344b26262878d0c02b7d6ee8f22ca4a6.tar.gz
freebsd-ports-gnome-40df07b8344b26262878d0c02b7d6ee8f22ca4a6.tar.zst
freebsd-ports-gnome-40df07b8344b26262878d0c02b7d6ee8f22ca4a6.zip
- Plist fixes. No need for @exec and use @sample.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile2
-rw-r--r--ports-mgmt/portupgrade-devel/pkg-plist5
2 files changed, 2 insertions, 5 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 7b42ea09d964..485ec07a1847 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= portupgrade
PORTVERSION= 20141006
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= ports-mgmt
MASTER_SITES= GH \
diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist
index 4b8223b23c3f..4872d0094776 100644
--- a/ports-mgmt/portupgrade-devel/pkg-plist
+++ b/ports-mgmt/portupgrade-devel/pkg-plist
@@ -30,7 +30,6 @@ sbin/portsclean
sbin/portsdb
sbin/portupgrade
sbin/portversion
-@exec /bin/mkdir -p %D/%%RUBY_SITELIBDIR%%/pkgtools
%%RUBY_SITELIBDIR%%/pkgtools/pkg.rb
%%RUBY_SITELIBDIR%%/pkgtools/pkgdb.rb
%%RUBY_SITELIBDIR%%/pkgtools/pkgdbtools.rb
@@ -44,9 +43,7 @@ sbin/portversion
%%RUBY_SITELIBDIR%%/pkgtools/portsdb.rb
%%RUBY_SITELIBDIR%%/pkgtools/revision.rb
%%RUBY_SITELIBDIR%%/pkgtools.rb
-@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
-etc/pkgtools.conf.sample
-@exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
+@sample etc/pkgtools.conf.sample
etc/pkgtools.status-pkg.sh
share/zsh/site-functions/_pkgtools
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bash/complete.sample