aboutsummaryrefslogtreecommitdiffstats
path: root/net/uplog/Makefile
blob: 7813fab7c4093545dd2a5b0c58574e63ce52c5d7 (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
35
36
# New ports collection makefile for:    uplog
# Date created:             16.06.2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   uplog
PORTVERSION=    0.2
CATEGORIES= net
MASTER_SITES=   http://www.nerdlabs.org/downloads/${PORTNAME}/

MAINTAINER= ponomarew@oberon.net
COMMENT=    UDP-based ping programm

USE_GETOPT_LONG=    yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

post-patch:
    ${REINPLACE_CMD} -e \
    's|#include <malloc.h>||g' \
        ${WRKSRC}/${PORTNAME}.c

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>