mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c2866e7e03
Approved by: portmgr
37 lines
1007 B
Makefile
37 lines
1007 B
Makefile
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wired-tracker
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://mirror.mcx2.org/
|
|
DISTNAME= wiredtracker-${PORTVERSION}
|
|
|
|
MAINTAINER= dhn@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
|
|
|
|
WRKSRC= ${WRKDIR}/wired-tracker-${PORTVERSION}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --libdir="${LOCALBASE}/lib" --includedir="${LOCALBASE}/include"
|
|
USES= gmake
|
|
USE_RC_SUBR= trackerd
|
|
|
|
MAN1= trackerdctl.1
|
|
MAN5= trackerd.conf.5
|
|
MAN8= trackerd.8
|
|
|
|
NO_STAGE= yes
|
|
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>
|