aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-12-04 06:37:09 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-12-04 06:37:09 +0000
commit1573031918c1db30bac5c3c2a0f5813e0d3e3a3b (patch)
tree3341852833bd46c2e72fab615ba37a484f75021b /ports-mgmt
parentfa1dd0fe6cdf0edd7341c71a6ffe63a51b3a58d1 (diff)
downloadports-1573031918c1db30bac5c3c2a0f5813e0d3e3a3b.tar.gz
ports-1573031918c1db30bac5c3c2a0f5813e0d3e3a3b.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portdowngrade/Makefile31
-rw-r--r--ports-mgmt/portdowngrade/distinfo1
-rw-r--r--ports-mgmt/portdowngrade/files/patch-portdowngrade.cpp12
-rw-r--r--ports-mgmt/portdowngrade/pkg-descr8
-rw-r--r--ports-mgmt/portdowngrade/pkg-plist1
5 files changed, 53 insertions, 0 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile
new file mode 100644
index 000000000000..68ef5df436f5
--- /dev/null
+++ b/ports-mgmt/portdowngrade/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: portdowngrade
+# Date created: 2003/02/13
+# Whom: Heiner <h.eichmann@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= portdowngrade
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= h.eichmann@gmx.de
+COMMENT=Sets a port back to a previous version
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+POPT_INCLUDE= `pkg_info -xL ^popt | ${GREP} popt.h | ${SED} -e 's?/popt.h??'`
+POPT_LIB= `pkg_info -xL ^popt | ${GREP} libpopt.a | ${SED} -e 's?/libpopt.a??'`
+CONFIGURE_ENV= CPPFLAGS="-I${POPT_INCLUDE}" \
+ LIBS="-lpopt -L${POPT_LIB}"
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+USE_BZIP2= yes
+
+MAN1= portdowngrade.1
+
+.include <bsd.port.mk>
diff --git a/ports-mgmt/portdowngrade/distinfo b/ports-mgmt/portdowngrade/distinfo
new file mode 100644
index 000000000000..b4a2aa577dbc
--- /dev/null
+++ b/ports-mgmt/portdowngrade/distinfo
@@ -0,0 +1 @@
+MD5 (portdowngrade-0.1.tar.bz2) = f0576e4836033bbe6740f660ee61b010
diff --git a/ports-mgmt/portdowngrade/files/patch-portdowngrade.cpp b/ports-mgmt/portdowngrade/files/patch-portdowngrade.cpp
new file mode 100644
index 000000000000..45a73d54eccb
--- /dev/null
+++ b/ports-mgmt/portdowngrade/files/patch-portdowngrade.cpp
@@ -0,0 +1,12 @@
+--- portdowngrade/portdowngrade.cpp.orig Mon Nov 17 20:35:46 2003
++++ portdowngrade/portdowngrade.cpp Sun Nov 23 09:59:53 2003
+@@ -36,7 +36,8 @@
+ #include <popt.h>
+ #include <string>
+ #include <fstream>
+-#include <slist>
++#include <slist.h>
++#include <iostream>
+ #include <vector>
+ #include <algorithm>
+
diff --git a/ports-mgmt/portdowngrade/pkg-descr b/ports-mgmt/portdowngrade/pkg-descr
new file mode 100644
index 000000000000..94e505406b16
--- /dev/null
+++ b/ports-mgmt/portdowngrade/pkg-descr
@@ -0,0 +1,8 @@
+Portdowngrade helps to downgrade FreeBSD ports by analyzing the history
+of commits to the port and presenting the user the list of changes. By
+selecting one, the port can be set back to a previous version easily.
+
+WWW: http://sourceforge.net/projects/portdowngrade/
+
+--
+h.eichmann@gmx.de
diff --git a/ports-mgmt/portdowngrade/pkg-plist b/ports-mgmt/portdowngrade/pkg-plist
new file mode 100644
index 000000000000..34f9fd1972a5
--- /dev/null
+++ b/ports-mgmt/portdowngrade/pkg-plist
@@ -0,0 +1 @@
+sbin/portdowngrade