Hello, 

after talking to $MAINTAINER (Tom Doherty) privately I'm doing what he
told me to...

Notes: 
- I have no idea what I'm doing
- I just copied the GH_* stuff from other software in sysutils/
- I just copied autohell stuff from other software in sysutils/
- I just copied CONFIGURE_* stuff from - well, guess it.
- I just adjusted PLIST to match nicms layout change
    (sbin/logfmon -> bin/logfmon)
- I removed patches/patch-Makefile which contained:
            +++ Makefile
            -INCDIRS= -I- -I. -I/usr/local/include
            +INCDIRS= -iquote -I. -I/usr/local/include
    This patch caused an error because Makefile isn't there at the time
    of patching and it only removes an "obsolete" warning with the hint
    to use "-iquote".
    Please advise on how to get the Makefile patch right!

Thanks for your time, Marcus

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/logfmon/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile    11 Jan 2018 19:27:10 -0000      1.4
+++ Makefile    17 Jan 2018 11:09:35 -0000
@@ -2,11 +2,11 @@
 
 COMMENT=               log file monitoring daemon
 
-DISTNAME=              logfmon-1.1
-REVISION=              1
-CATEGORIES=            sysutils
+GH_ACCOUNT=             nicm
+GH_PROJECT=             logfmon
+GH_TAGNAME=            1.2
 
-HOMEPAGE=              http://sourceforge.net/projects/logfmon/
+CATEGORIES=            sysutils
 
 MAINTAINER=            Tom Doherty <t...@singlesecond.com>
 
@@ -15,9 +15,19 @@ PERMIT_PACKAGE_CDROM=        Yes
 
 WANTLIB=               c m pthread
 
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=logfmon/}
-
 NO_TEST=               Yes
+
+CONFIGURE_STYLE =       gnu
+CONFIGURE_ARGS +=       --disable-debug
+
+AUTOCONF_VERSION=       2.69
+AUTOMAKE_VERSION=       1.15
+BUILD_DEPENDS +=        ${MODGNU_AUTOMAKE_DEPENDS} \
+                       ${MODGNU_AUTOCONF_DEPENDS}
+
+pre-configure:
+       cd ${WRKSRC} && AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
+               AUTOCONF_VERSION=${AUTOCONF_VERSION} /bin/sh ./autogen.sh
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/logfmon
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/logfmon/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo    18 Jan 2015 03:15:12 -0000      1.2
+++ distinfo    17 Jan 2018 11:09:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (logfmon-1.1.tar.gz) = FVuURXcM3O4rQtmaVH74fTfBDvUHsiug81G9eaiOGzg=
-SIZE (logfmon-1.1.tar.gz) = 49705
+SHA256 (logfmon-1.2.tar.gz) = 
b6b154964a2a871e85a5dd7c1f2282c0708d0d879b7307c69a9292361321ba74
+SIZE (logfmon-1.2.tar.gz) = 43040
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/logfmon/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   16 May 2012 06:10:18 -0000      1.1.1.1
+++ pkg/PLIST   17 Jan 2018 11:09:35 -0000
@@ -1,7 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/16 06:10:18 jasper Exp $
 @man man/man5/logfmon.conf.5
 @man man/man8/logfmon.8
-@bin sbin/logfmon
+@bin bin/logfmon
 share/examples/logfmon/
 share/examples/logfmon/brandini.conf
 share/examples/logfmon/logfmon-freebsd.conf

Reply via email to