aboutsummaryrefslogtreecommitdiff
path: root/net/arprelease/Makefile
blob: 53a8d2be630339f8f01d09a1a5776a3a8d9af181 (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
# New ports collection makefile for: arprelease
# Date created:		02 Aug 2001
# Whom:			nbm
#
# $FreeBSD$
#

PORTNAME=	arprelease
PORTVERSION=	1.0
CATEGORIES=	net
MASTER_SITES= 	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	arprelease

MAINTAINER=	nbm@FreeBSD.org

BUILD_DEPENDS=	libnet-config:${PORTSDIR}/net/libnet

LIBNET_CONFIG=	libnet-config

do-build:
	(cd ${WRKSRC} && \
		${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
		-o arprelease arprelease.c \
		`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`)

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${PREFIX}/bin

.include <bsd.port.mk>