Index: head/net/hsflowd/Makefile =================================================================== --- head/net/hsflowd/Makefile (revision 441195) +++ head/net/hsflowd/Makefile (revision 441196) @@ -1,33 +1,31 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= hsflowd PORTVERSION= 1.24.1 CATEGORIES= net -MASTER_SITES= SF/host-sflow/Latest/ \ - http://mirrors.rit.edu/zi/ +MASTER_SITES= http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Agent that exports metrics using the sFlow protocol -USES= fmake SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} MAKE_ENV= BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \ CONFDIR=${ETCDIR} INSTROOT=${STAGEDIR} MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ -e '/scripts\/hsflowd /d' \ -e 's|hsflowd.conf|hsflowd.conf.sample|g' \ ${WRKSRC}/src/FreeBSD/Makefile ${WRKSRC}/src/sflow/Makefile \ ${WRKSRC}/src/json/Makefile @${REINPLACE_CMD} -e 's|/etc|${ETCDIR}|g' ${WRKSRC}/src/FreeBSD/hsflowd.h @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/src/FreeBSD/scripts/hsflowd @${MV} ${WRKSRC}/src/FreeBSD/scripts/hsflowd.conf \ ${WRKSRC}/src/FreeBSD/scripts/hsflowd.conf.sample .include Index: head/net/hsflowd/files/patch-src_FreeBSD_Makefile =================================================================== --- head/net/hsflowd/files/patch-src_FreeBSD_Makefile (nonexistent) +++ head/net/hsflowd/files/patch-src_FreeBSD_Makefile (revision 441196) @@ -0,0 +1,38 @@ +--- src/FreeBSD/Makefile.orig 2017-03-13 18:07:09 UTC ++++ src/FreeBSD/Makefile +@@ -1,22 +1,22 @@ + # This software is distributed under the following license: + # http://host-sflow.sourceforge.net/license.html + +-.if empty $(BINDIR) ++.if empty(BINDIR) + BINDIR=/usr/sbin + .endif + +-.if empty $(INITDIR) ++.if empty(INITDIR) + INITDIR=/etc/rc.d + .endif + +-.if empty $(CONFDIR) ++.if empty(CONFDIR) + CONFDIR=/etc + .endif + + INSTALL=install + + # INSTROOT may be passed in, e.g. RPM_BUILD_ROOT +-.if empty $(INSTROOT) ++.if empty(INSTROOT) + BIN_D=$(BINDIR) + INIT_D=$(INITDIR) + CONF_D=$(CONFDIR) +@@ -36,7 +36,7 @@ CC= gcc -std=gnu99 + OPT_FULL = -O3 -DNDEBUG + OPT_DEBUG = -g -ggdb + +-.if empty $(OPT) ++.if empty(OPT) + OPT=$(OPT_FULL) + .endif + Property changes on: head/net/hsflowd/files/patch-src_FreeBSD_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property