2003-12-04 07:37:09 +01:00
|
|
|
# New ports collection makefile for: portdowngrade
|
|
|
|
# Date created: 2003/02/13
|
|
|
|
# Whom: Heiner <h.eichmann@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= portdowngrade
|
2004-12-29 16:36:38 +01:00
|
|
|
PORTVERSION= 0.6
|
2010-02-16 00:53:42 +01:00
|
|
|
PORTREVISION= 2
|
2007-02-05 02:08:46 +01:00
|
|
|
CATEGORIES= ports-mgmt
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-12-04 07:37:09 +01:00
|
|
|
|
2011-01-11 14:53:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-08-08 16:15:54 +02:00
|
|
|
COMMENT= Sets a port back to a previous version
|
2003-12-04 07:37:09 +01:00
|
|
|
|
|
|
|
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??'`
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-lpopt -L${POPT_LIB}"
|
|
|
|
CPPFLAGS+= -I${POPT_INCLUDE}
|
2004-08-08 16:15:54 +02:00
|
|
|
.if defined(DEFAULT_CVS_SERVER)
|
|
|
|
CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
|
|
|
|
.endif
|
2003-12-04 07:37:09 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
MAN1= portdowngrade.1
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= sbin/portdowngrade
|
2003-12-04 07:37:09 +01:00
|
|
|
|
2004-08-08 16:15:54 +02:00
|
|
|
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)"
|
2004-12-29 16:36:38 +01:00
|
|
|
@${ECHO_MSG} "if you want to use a special CVS server as default. See"
|
|
|
|
@${ECHO_MSG} "http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html"
|
|
|
|
@${ECHO_MSG} "for a list of possible cvs server"
|
2004-08-08 16:15:54 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@sleep 3
|
|
|
|
.endif
|
|
|
|
|
2003-12-04 07:37:09 +01:00
|
|
|
.include <bsd.port.mk>
|