summaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg_cleanup/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-01-04 13:28:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-01-04 13:28:51 +0000
commit13e69f8e3732d419d02d3777b09e88185f3fb502 (patch)
treeab933b91d394bd051df78fef08b2c67ecf11e21b /ports-mgmt/pkg_cleanup/Makefile
parent- Update to 2.0.20071129. (diff)
pkg_cleanup finds packages that are not requested by any other installed
package and lets you decide for each one if you want to keep it or delete it. It also allows viewing the pacakge comment and description. This program is essentially a clone of pkg_rmleaves except that it shows the comment and description of packages and does not support GUI dialog(1) implementations. PR: ports/117782 Submitted by: Stephen Hurd <shurd@sasktel.net>
Notes
Notes: svn path=/head/; revision=204988
Diffstat (limited to 'ports-mgmt/pkg_cleanup/Makefile')
-rw-r--r--ports-mgmt/pkg_cleanup/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/ports-mgmt/pkg_cleanup/Makefile b/ports-mgmt/pkg_cleanup/Makefile
new file mode 100644
index 000000000000..25d22ec83b03
--- /dev/null
+++ b/ports-mgmt/pkg_cleanup/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: pkg_cleanup
+# Date created: 02 November 2007
+# Whom: Stephen Hurd <shurd@sasktel.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pkg_cleanup
+PORTVERSION= 1.0
+CATEGORIES= ports-mgmt
+DISTFILES=
+
+MAINTAINER= shurd@sasktel.net
+COMMENT= Interactive program for deinstalling 'leaf' packages
+
+MAN1= pkg_cleanup.1
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PLIST_FILES= sbin/pkg_cleanup
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} -R ${FILESDIR}/* ${WRKSRC}
+
+do-build:
+ make -C ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pkg_cleanup ${PREFIX}/sbin/pkg_cleanup
+ ${INSTALL_MAN} ${WRKSRC}/pkg_cleanup.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>