aboutsummaryrefslogtreecommitdiff
path: root/net/wired-tracker/Makefile
blob: 9a987213a93c2cbba71ebadd7f62aeb622daa205 (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
30
31
32
33
34
35
36
# New ports collection makefile for:	wired-tracker
# Date created:		2006-12-02
# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#

PORTNAME=	wired-tracker
PORTVERSION=	1.0
CATEGORIES=	net
MASTER_SITES=	http://www.zankasoftware.com/dist/

MAINTAINER=	trasz@freebsd.org
COMMENT=	Wired tracker

# This is an artificial dependancy - net/wired and net/wired-tracker
# use some common files, like wired/etc/resolv.conf.
RUN_DEPENDS=	${LOCALBASE}/sbin/wired:${PORTSDIR}/net/wired

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_RC_SUBR=	trackerd.sh

MAN1=		trackerdctl.1
MAN5=		trackerd.conf.5
MAN8=		trackerd.8

post-install:
	@if [ ! -f ${PREFIX}/wired/etc/trackerd.conf ]; then \
		${CP} -p ${PREFIX}/wired/etc/trackerd.conf.sample ${PREFIX}/wired/etc/trackerd.conf ; \
	fi
	@if [ ! -f ${PREFIX}/wired/categories ]; then \
		${CP} -p ${PREFIX}/wired/categories.sample ${PREFIX}/wired/categories ; \
	fi

.include <bsd.port.mk>