summaryrefslogtreecommitdiff
path: root/ports-mgmt/dialog4ports/Makefile
blob: 69147961a98e7751a0ef1e7e7bf8af5c8e48b7e0 (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
48
49
50
51
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
# $FreeBSD$

PORTNAME=	dialog4ports
PORTVERSION=	0.1.5
PORTREVISION=	1
CATEGORIES=	ports-mgmt
MASTER_SITES=	http://m1cro.tk/dialog4ports/ \
		http://files.etoilebsd.net/dialog4ports/ \
		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
		http://m1cro.tk/dialog4ports/:dialog \
		http://files.etoilebsd.net/dialog4ports/:dialog \
		ftp://invisible-island.net/dialog/:dialog \
		http://mirror.shatow.net/freebsd/${PORTNAME}/:dialog

MAINTAINER=	rum1cro@yandex.ru
COMMENT=	Console Interface to configure ports

# CCACHE has options, so may need d4p, make d4p not ccache friendly
# to avoid circular dependency
NO_CCACHE=	yes
MANCOMPRESSED=	yes
MAN1=		${PORTNAME}.1
MAKE_ENV+=	__MAKE_CONF=/dev/null SRCCONF=/dev/null

PLIST_FILES=	bin/dialog4ports


.include <bsd.port.pre.mk>

MAKE_ARGS+=	DEBUG_FLAGS="${DEBUG_FLAGS}"

## This is used by 'make config' via Tools/scripts/dialog4ports.sh
## Use caution in changing
.if !exists(${DIALOG4PORTS})
DIALOG4PORTS=	${WRKSRC}/dialog4ports
.endif

.if ${OSVERSION} < 900030
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
		${DIALOGNAME}.tgz:dialog
DIALOGNAME=	dialog-1.1-20120706

MAKE_ENV+=	DIALOGSOURCES=${WRKDIR}/${DIALOGNAME}

do-configure:
	@cd ${WRKDIR}/${DIALOGNAME}; ./configure

.endif

.include <bsd.port.post.mk>