mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
db5e2bc177
Approved by: portmgr@ (implicit)
37 lines
705 B
Makefile
37 lines
705 B
Makefile
# New ports collection makefile for: uplog
|
|
# Date created: 16.06.2003
|
|
# Whom: 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
|
|
|
|
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>
|