aboutsummaryrefslogtreecommitdiffstats
path: root/net/ghtool/Makefile
blob: d4cfaa169e48f57b68c55a4c2e1bab4472747f53 (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
32
33
34
# New ports collection makefile for:    ghtool
# Date created:     19 September 2000
# Whom:         roam@orbitel.bg
#
# $FreeBSD$
#

PORTNAME=   ghtool
PORTVERSION=    1.0
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=gh-tool
DISTNAME=   ghmain.c
EXTRACT_SUFX=

MAINTAINER= roam@FreeBSD.org
COMMENT=    "A command-line interface to the resolver library"

WRKSRC=     ${WRKDIR}

TGT=        gh
SRC=        gh.c

EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}/${SRC}

do-build:
        ${CC} ${CFLAGS} -o ${WRKSRC}/${TGT} ${WRKSRC}/${SRC}

do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/${TGT} ${PREFIX}/bin

.include <bsd.port.mk>