aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dualserver/Makefile
blob: 24fc1832fa2e5420b1da01c0d53fa7c0403445a0 (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@FreeBSD.org
COMMENT=    Combined DHCP/DNS server for small LANs

USES=       dos2unix
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} ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini \
        ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample

.include <bsd.port.mk>