2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
2003-06-17 07:22:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uplog
|
2008-02-01 13:19:18 +01:00
|
|
|
PORTVERSION= 0.3
|
2003-06-17 07:22:09 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.nerdlabs.org/downloads/${PORTNAME}/
|
|
|
|
|
2008-03-12 14:27:28 +01:00
|
|
|
MAINTAINER= jadawin@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= UDP-based ping program
|
2003-06-17 07:22:09 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-06-17 07:22:09 +02:00
|
|
|
|
2004-03-20 19:00:04 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/uplog
|
|
|
|
|
2014-02-21 14:38:29 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-12-27 20:47:35 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2003-06-17 07:22:09 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|#include <malloc.h>||g' \
|
|
|
|
${WRKSRC}/${PORTNAME}.c
|
|
|
|
|
|
|
|
post-install:
|
2013-12-27 20:47:35 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2003-06-17 07:22:09 +02:00
|
|
|
.for i in README
|
2013-12-27 20:47:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2003-06-17 07:22:09 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|