blob: d74863fde9345369828911025b8a42030fea4ea5 (
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
|
# Created by: Gabor Kovesdan
# $FreeBSD$
PORTNAME= dualserver
PORTVERSION= 7.02
CATEGORIES= dns net
MASTER_SITES= SF/dhcp-dns-server/Dual%20DHCP%20DNS%20Server/ \
http://rodrigo.osorio.free.fr/freebsd/distfiles/
DISTNAME= ${PORTNAME}V${PORTVERSION}
MAINTAINER= rodrigo@bebik.net
COMMENT= Combined DHCP/DNS server for small LANs
USE_DOS2UNIX= yes
USE_RC_SUBR= dualserver
PLIST_FILES= sbin/dualserver etc/dualserver.conf.sample
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
do-build:
${CXX} ${CXXFLAGS} -o ${WRKSRC}/dualserver \
${WRKSRC}/dualserverd.cpp ${PTHREAD_LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini \
${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>
|