aboutsummaryrefslogtreecommitdiffstats
path: root/dns/ghtool/Makefile
blob: 3134de8d5f4930cffa04555f76b52a3bd8922f81 (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
# Created by: roam@orbitel.bg
# $FreeBSD$

PORTNAME=   ghtool
PORTVERSION=    1.0
CATEGORIES= dns
MASTER_SITES=   SF/gh-tool/gh-tool/1
DISTNAME=   ghmain.c
EXTRACT_SUFX=   # none

MAINTAINER= ports@FreeBSD.org
COMMENT=    Command-line interface to the resolver library

LICENSE=    NONE

PLIST_FILES=    bin/gh

do-extract:
    @${MKDIR} ${WRKDIR}
    ${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/

do-build:
    ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKDIR}/gh ${WRKDIR}/ghmain.c

do-install:
    ${INSTALL_PROGRAM} ${WRKDIR}/gh ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>