xref: /mports/ports-mgmt/dialog4ports/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	dialog4ports
2PORTVERSION=	0.1.6
3PORTREVISION?=	4
4CATEGORIES=	ports-mgmt
5MASTER_SITES=	https://files.etoilebsd.net/dialog4ports/ \
6		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
7		http://files.etoilebsd.net/dialog4ports/:dialog \
8		ftp://invisible-island.net/dialog/:dialog \
9		http://mirror.shatow.net/freebsd/${PORTNAME}/:dialog
10
11MAINTAINER=	ports@MidnightBSD.org
12COMMENT=	Console Interface to configure ports
13WWW=		https://bitbucket.org/m1cro/d4p/
14
15LICENSE=	bsd2
16
17USES=		uidfix
18
19FAKE_OPTS+=	trueprefix
20MAKE_ARGS+=	MAN1DIR=${PREFIX}/share/man/man1
21
22# CCACHE has options, so may need d4p, make d4p not ccache friendly
23# to avoid circular dependency
24NO_CCACHE=	yes
25MAKE_ENV+=	__MAKE_CONF=/dev/null SRCCONF=/dev/null
26
27.if !defined(D4P_SLAVE)
28PLIST_FILES=	bin/dialog4ports share/man/man1/${PORTNAME}.1.gz
29.endif
30
31.include <bsd.port.pre.mk>
32
33.if defined(DEBUG_FLAGS)
34MAKE_ARGS+=	DEBUG_FLAGS="${DEBUG_FLAGS}"
35.endif
36
37## This is used by 'make config' via Tools/scripts/dialog4ports.sh
38## Use caution in changing
39.if !exists(${DIALOG4PORTS})
40DIALOG4PORTS=	${WRKSRC}/dialog4ports
41.endif
42
43.if defined(D4P_SLAVE)
44DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
45		${DIALOGNAME}.tgz:dialog
46DIALOGNAME=	dialog-1.1-20120706
47
48MAKE_ENV+=	DIALOGSOURCES=${WRKDIR}/${DIALOGNAME}
49
50do-configure:
51	@cd ${WRKDIR}/${DIALOGNAME}; ./configure --build=${ARCH}-portbld-freebsd11.4
52
53.endif
54
55.include <bsd.port.post.mk>
56

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026