aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dualserver/Makefile
blob: 843d180561bdba7869ef5d7dec1aa849e6d7a51f (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
# 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

USE_DOS2UNIX=   yes
USE_RC_SUBR=    dualserver
PLIST_FILES=    sbin/dualserver etc/dualserver.conf.sample

NO_STAGE=   yes
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>