summaryrefslogtreecommitdiff
path: root/net/ether2dns/Makefile
blob: 730e58c0d7f10eb44712556be10c8e4a5dac2bbe (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
# $NetBSD: Makefile,v 1.1.1.1 2011/01/26 21:39:09 is Exp $
#

DISTNAME=		ether2dns-1.5
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}

PKG_DESTDIR_SUPPORT=	user-destdir

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"