blob: bda285aab1458b583e343890ea1ecce84694e9b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: portdowngrade
# Date created: 2003/02/13
# Whom: Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#
PORTNAME= portdowngrade
PORTVERSION= 0.6
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
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= LIBS="-lpopt -L${POPT_LIB}"
CPPFLAGS+= -I${POPT_INCLUDE}
.if defined(DEFAULT_CVS_SERVER)
CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
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. 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"
@${ECHO_MSG} ""
@sleep 3
.endif
.include <bsd.port.mk>
|