mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
40 lines
813 B
Makefile
40 lines
813 B
Makefile
# 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= ports@FreeBSD.org
|
|
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}
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/uplog
|
|
|
|
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>
|