diff options
author | thierry <thierry@FreeBSD.org> | 2004-08-08 22:15:54 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-08-08 22:15:54 +0800 |
commit | 1a0c42ee2294df835a7db508e5516bcbea4b2031 (patch) | |
tree | 281629f5f35b685bda8f371cbd066519621b0022 | |
parent | 2746c9d88ead0e4ebd9d5fabb00ec667e40a2fc3 (diff) | |
download | freebsd-ports-gnome-1a0c42ee2294df835a7db508e5516bcbea4b2031.tar.gz freebsd-ports-gnome-1a0c42ee2294df835a7db508e5516bcbea4b2031.tar.zst freebsd-ports-gnome-1a0c42ee2294df835a7db508e5516bcbea4b2031.zip |
Version 0.5 release.
- Bugfix: sometimes the ports version was wrong;
- A default cvs server can be set;
- Port revision is added to port version number.
PR: 70162
Submitted by: maintainer.
-rw-r--r-- | ports-mgmt/portdowngrade/Makefile | 17 | ||||
-rw-r--r-- | ports-mgmt/portdowngrade/distinfo | 4 | ||||
-rw-r--r-- | sysutils/portdowngrade/Makefile | 17 | ||||
-rw-r--r-- | sysutils/portdowngrade/distinfo | 4 |
4 files changed, 34 insertions, 8 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile index 0d3ec4796838..f3c1b0656f74 100644 --- a/ports-mgmt/portdowngrade/Makefile +++ b/ports-mgmt/portdowngrade/Makefile @@ -6,13 +6,13 @@ # PORTNAME= portdowngrade -PORTVERSION= 0.4 +PORTVERSION= 0.5 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 +COMMENT= Sets a port back to a previous version LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt @@ -20,6 +20,9 @@ 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}" +.if defined(DEFAULT_CVS_SERVER) +CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER} +.endif GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -30,4 +33,14 @@ USE_BZIP2= yes MAN1= portdowngrade.1 PLIST_FILES= sbin/portdowngrade +pre-everything:: +.if !defined(DEFAULT_CVS_SERVER) + @${ECHO_MSG} "" + @${ECHO_MSG} "Press CTRL-C and define DEFAULT_CVS_SERVER" + @${ECHO_MSG} "(e.g. make DEFAULT_CVS_SERVER=\":pserver:anoncvs@anoncvs. ... .FreeBSD.org:/home/ncvs\" install)" + @${ECHO_MSG} "if you want to use a special CVS server as default." + @${ECHO_MSG} "" + @sleep 3 +.endif + .include <bsd.port.mk> diff --git a/ports-mgmt/portdowngrade/distinfo b/ports-mgmt/portdowngrade/distinfo index 572be92f0d40..b110dc96e17c 100644 --- a/ports-mgmt/portdowngrade/distinfo +++ b/ports-mgmt/portdowngrade/distinfo @@ -1,2 +1,2 @@ -MD5 (portdowngrade-0.4.tar.bz2) = 9ad4d2351ac10851082a1b7d58c52cd6 -SIZE (portdowngrade-0.4.tar.bz2) = 68832 +MD5 (portdowngrade-0.5.tar.bz2) = e43e6c91b2d1a92517131d48ea023e6f +SIZE (portdowngrade-0.5.tar.bz2) = 73380 diff --git a/sysutils/portdowngrade/Makefile b/sysutils/portdowngrade/Makefile index 0d3ec4796838..f3c1b0656f74 100644 --- a/sysutils/portdowngrade/Makefile +++ b/sysutils/portdowngrade/Makefile @@ -6,13 +6,13 @@ # PORTNAME= portdowngrade -PORTVERSION= 0.4 +PORTVERSION= 0.5 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 +COMMENT= Sets a port back to a previous version LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt @@ -20,6 +20,9 @@ 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}" +.if defined(DEFAULT_CVS_SERVER) +CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER} +.endif GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -30,4 +33,14 @@ USE_BZIP2= yes MAN1= portdowngrade.1 PLIST_FILES= sbin/portdowngrade +pre-everything:: +.if !defined(DEFAULT_CVS_SERVER) + @${ECHO_MSG} "" + @${ECHO_MSG} "Press CTRL-C and define DEFAULT_CVS_SERVER" + @${ECHO_MSG} "(e.g. make DEFAULT_CVS_SERVER=\":pserver:anoncvs@anoncvs. ... .FreeBSD.org:/home/ncvs\" install)" + @${ECHO_MSG} "if you want to use a special CVS server as default." + @${ECHO_MSG} "" + @sleep 3 +.endif + .include <bsd.port.mk> diff --git a/sysutils/portdowngrade/distinfo b/sysutils/portdowngrade/distinfo index 572be92f0d40..b110dc96e17c 100644 --- a/sysutils/portdowngrade/distinfo +++ b/sysutils/portdowngrade/distinfo @@ -1,2 +1,2 @@ -MD5 (portdowngrade-0.4.tar.bz2) = 9ad4d2351ac10851082a1b7d58c52cd6 -SIZE (portdowngrade-0.4.tar.bz2) = 68832 +MD5 (portdowngrade-0.5.tar.bz2) = e43e6c91b2d1a92517131d48ea023e6f +SIZE (portdowngrade-0.5.tar.bz2) = 73380 |