summaryrefslogtreecommitdiff
path: root/net/ether2dns/Makefile
blob: 20bb5b571a22b70e23a1494121c10b02b2c59bd2 (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
# $NetBSD: Makefile,v 1.3 2012/10/23 17:18:19 asau Exp $
#

DISTNAME=		ether2dns-1.6
CATEGORIES=		net
MASTER_SITES=		http://theory.cs.uni-bonn.de/~ignatios/
EXTRACT_SUFX=		.shar

MAINTAINER=		is@netbsd.org
HOMEPAGE=		http://theory.cs.uni-bonn.de/~ignatios/
COMMENT=		Converter from /etc/ethers to IPv6 DNS records

WRKSRC=			${WRKDIR}

USE_TOOLS+=		lex
USE_LANGUAGES=		c

MAKE_FILE=		Makefile.notbsd
MAKE_FLAGS+=		CC=${CC:Q}
MAKE_FLAGS+=		LEX=${LEX:Q}

BUILD_TARGET=		ether2dns
TEST_TARGET=		test

do-install:
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin/
	${INSTALL_PROGRAM} ${WRKSRC}/ether2dns ${DESTDIR}${PREFIX}/sbin/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ether2dns/
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/doc/ether2dns/

.include "../../mk/bsd.pkg.mk"