summaryrefslogtreecommitdiff
path: root/net/dhcpcd-ui/Makefile
blob: e1cbbca9e2a8f97937cd88e15f09b01bc601c073 (plain)
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

PORTNAME=	dhcpcd-ui
PORTVERSION=	0.7.8
CATEGORIES=	net
MASTER_SITES=	https://roy.marples.name/downloads/dhcpcd/ \
		https://cflags.cc/roy/dhcpcd/

MAINTAINER=	woodsb02@FreeBSD.org
COMMENT=	GTK+ / Curses interface to dhcpcd

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libnotify.so:devel/libnotify

USES=		pkgconfig tar:xz

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--enable-notification \
		--mandir=${MANPREFIX}/man \
		--with-dhcpcd-online \
		--with-icons

OPTIONS_DEFINE=		GTK3
OPTIONS_DEFAULT=	GTK3
OPTIONS_SUB=		yes

GTK3_USES=		gnome
GTK3_USE=		gnome=gdkpixbuf2,gtk30
GTK3_CONFIGURE_WITH=	gtk

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dhcpcd-curses ${STAGEDIR}${PREFIX}/bin/dhcpcd-online

.include <bsd.port.mk>