1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net/uplog/Makefile
Philippe Audeoud 37f97ba925 - Support STAGE
2013-12-27 19:47:35 +00:00

35 lines
685 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= uplog
PORTVERSION= 0.3
CATEGORIES= net
MASTER_SITES= http://www.nerdlabs.org/downloads/${PORTNAME}/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= UDP-based ping program
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= README
PLIST_FILES= bin/uplog
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e \
's|#include <malloc.h>||g' \
${WRKSRC}/${PORTNAME}.c
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>