freebsd-ports/net/uplog/Makefile
Dmitry Marakasov e638299edc - Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS

Approved by:	portmgr blanket
2015-08-28 13:39:56 +00:00

32 lines
636 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
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PORTDOCS= README
PLIST_FILES= bin/uplog
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e \
's|#include <malloc.h>||g' \
${WRKSRC}/${PORTNAME}.c
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>