[Midnightbsd-cvs] mports: mports/ports-mgmt: add qtpkg
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 19 21:41:03 EDT 2007
Log Message:
-----------
add qtpkg
Modified Files:
--------------
mports/ports-mgmt:
Makefile (r1.2 -> r1.3)
Added Files:
-----------
mports/ports-mgmt/qtpkg:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
mports/ports-mgmt/qtpkg/files:
patch-Makefile (r1.1)
patch-main.cc (r1.1)
-------------- next part --------------
--- /dev/null
+++ ports-mgmt/qtpkg/pkg-descr
@@ -0,0 +1,4 @@
+qtpkg simplifies the removal of packages by simulating the add/remove
+programs dialog as seen in Windows. Handy when you can't remember the
+correct version number. It also allows you to read the description of the
+package and its packing list.
--- /dev/null
+++ ports-mgmt/qtpkg/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: qtpkg
+# Date created: Wed Sep 19 2007
+# Whom: Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/ports-mgmt/qtpkg/Makefile,v 1.1 2007/09/20 01:41:01 laffer1 Exp $
+#
+
+PORTNAME= qtpkg
+PORTVERSION= 1.0
+CATEGORIES= ports-mgmt
+DISTNAME= qtpkg
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= A Qt based package removal tool
+LICENSE= bsd3
+
+MAKE_ENV= LIBS="-lqt-mt ${PTHREAD_LIBS}" CFLAGS="${PTHREAD_CFLAGS}"
+
+PLIST_FILES= sbin/qtpkg
+USE_QT_VER= 3
+USE_XLIB= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/qtpkg ${PREFIX}/sbin
+
+.include <bsd.port.mk>
--- /dev/null
+++ ports-mgmt/qtpkg/distinfo
@@ -0,0 +1,3 @@
+MD5 (qtpkg.tar.gz) = 0910416a0c23240e3f71d77f825618da
+SHA256 (qtpkg.tar.gz) = df1ded7e295ce02e16719aa11ecb32961592e6f5da005ff0c949e74422d0116f
+SIZE (qtpkg.tar.gz) = 7308
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/ports-mgmt/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lports-mgmt/Makefile -Lports-mgmt/Makefile -u -r1.2 -r1.3
--- ports-mgmt/Makefile
+++ ports-mgmt/Makefile
@@ -6,5 +6,6 @@
SUBDIR += portlint
SUBDIR += portsearch
SUBDIR += portupgrade
+ SUBDIR += qtpkg
.include <bsd.port.subdir.mk>
--- /dev/null
+++ ports-mgmt/qtpkg/files/patch-Makefile
@@ -0,0 +1,25 @@
+
+$FreeBSD: ports/ports-mgmt/qtpkg/files/patch-Makefile,v 1.2 2003/04/14 15:03:16 arved Exp $
+
+--- Makefile 2001/01/23 16:32:54 1.1
++++ Makefile 2001/01/23 16:36:12
+@@ -9,13 +9,13 @@
+
+ CC = cc
+ CXX = c++
+-CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
+-CXXFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
+-INCPATH = -I/usr/local/include -I/usr/X11R6/include/qt2
++CFLAGS += -pipe -Wall -W -DNO_DEBUG
++CXXFLAGS += ${CFLAGS}
++INCPATH = -I$(LOCALBASE)/include -I$(X11BASE)/include/
+ LINK = c++
+-LIBS = $(SUBLIBS) -L/usr/local/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
+-MOC = /usr/X11R6/bin/moc2
+-UIC = /usr/X11R6/bin/uic
++LIBS += $(SUBLIBS) -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lXext -lX11 -lm
++MOC = $(LOCALBASE)/bin/moc
++UIC = $(LOCALBASE)/bin/uic
+
+ TAR = tar -cf
+ GZIP = gzip -9f
--- /dev/null
+++ ports-mgmt/qtpkg/files/patch-main.cc
@@ -0,0 +1,11 @@
+--- main.cc.orig Wed Sep 19 21:33:05 2007
++++ main.cc Wed Sep 19 21:34:27 2007
+@@ -56,7 +56,7 @@
+ }
+ CHECK_PTR(main);
+ main->setMinimumSize(200, 400);
+- main->setCaption("FreeBSD Package Management");
++ main->setCaption("MidnightBSD Package Management");
+ main->show();
+ // Hide the remove button, preventing a remove...
+ main->hideRemove();
More information about the Midnightbsd-cvs
mailing list