summaryrefslogtreecommitdiffstats
path: root/sysutils/pkg-orphan/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-29 21:37:46 +0000
committeredwin <edwin@FreeBSD.org>2005-11-29 21:37:46 +0000
commit10fba284e99fd45a5de98d5eea160012e9a9dec0 (patch)
treee5220297719a13698a239e2e3f58ec3960547ac9 /sysutils/pkg-orphan/Makefile
parent2f10a8fdc39bf40c781d9f1f97e891c53d72159c (diff)
downloadFreeBSD-ports-10fba284e99fd45a5de98d5eea160012e9a9dec0.zip
FreeBSD-ports-10fba284e99fd45a5de98d5eea160012e9a9dec0.tar.gz
New port: sysutils/pkg-orphan A console utility for managing unreferenced FreeBSD packages
pkg-orphan is a console utility for managing orphan, i.e. unreferenced FreeBSD packages. It finds all or selected orphans and lets the user choose which ones to remove and which ones to keep. It maintains a keep-list file, so previously kept packages will be skipped automatically. In batch mode, all packages, not present in the keep-list are either deleted or kept in the list. Since orphan packages are usually much fewer than non-orphan ones, it can be useful for quickly finding and deleting unused packages, even on a system with hundreds of them installed. Features: - interactive and batch modes - maintains a kept package list, to avoid asking for the same package again - can delete packages recursively, but without deleting shared dependencies or previously kept packages - the keep-list file does not contain package versions, so upgrades generally don't require editing of the file WWW: http://sourceforge.net/projects/pkg-orphan/ - Victor Semionov semionov@mail.b PR: ports/89730 Submitted by: Victor Semionov <semionov@mail.bg>
Diffstat (limited to 'sysutils/pkg-orphan/Makefile')
-rw-r--r--sysutils/pkg-orphan/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/pkg-orphan/Makefile b/sysutils/pkg-orphan/Makefile
new file mode 100644
index 0000000..9e10f61
--- /dev/null
+++ b/sysutils/pkg-orphan/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: pkg-orphan
+# Date created: 26 November 2005
+# Whom: Victor Semionov <semionov@mail.bg>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pkg-orphan
+PORTVERSION= 0.1.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=${PORTNAME}
+
+MAINTAINER= semionov@mail.bg
+COMMENT= A console utility for managing unreferenced FreeBSD packages
+
+NO_BUILD= yes
+USE_PERL5= yes
+
+MAN1= pkg-orphan.1
+
+PLIST_FILES= sbin/pkg-orphan
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pkg-orphan.pl ${PREFIX}/sbin/pkg-orphan
+ ${INSTALL_MAN} ${WRKSRC}/pkg-orphan.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud