# Created by: Kirill Ponomarew # $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 OPTIONS_DEFINE= DOCS .include post-patch: ${REINPLACE_CMD} -e \ 's|#include ||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