diff --git a/sysutils/fetchlog/Makefile b/sysutils/fetchlog/Makefile index cea36b6c10ce..1640d9865605 100644 --- a/sysutils/fetchlog/Makefile +++ b/sysutils/fetchlog/Makefile @@ -1,28 +1,30 @@ # Created by: Alexander Haderer PORTNAME= fetchlog PORTVERSION= 1.4 CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= alexander.haderer@loescap.de COMMENT= Fetch and convert new messages of a logfile +LICENSE= GPLv2 + PORTDOCS= CHANGES README README.Nagios README.SNMP PORTEXAMPLES= fetchlog.cfg fetchlog_service.cfg notify.cfg.example PLIST_FILES= bin/fetchlog man/man1/fetchlog.1.gz OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fetchlog ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/sysutils/fetchlog/files/patch-Makefile b/sysutils/fetchlog/files/patch-Makefile index 9139c6f706ad..c69aa4dfac18 100644 --- a/sysutils/fetchlog/files/patch-Makefile +++ b/sysutils/fetchlog/files/patch-Makefile @@ -1,22 +1,22 @@ ---- Makefile.orig 2010-06-21 11:35:08.000000000 +0200 -+++ Makefile 2010-06-21 19:10:33.000000000 +0200 -@@ -23,8 +23,8 @@ +--- Makefile.orig 2010-07-02 10:10:08 UTC ++++ Makefile +@@ -23,8 +23,8 @@ FETCHLOG_VERSION=1.4 ### compiler ### gcc -CC=gcc -CFLAGS= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \ +CC?=cc -+CFLAGS+= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \ ++CFLAGS+= -O -Wall -Wcast-qual -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align ### cc #CC=cc -@@ -57,7 +57,7 @@ +@@ -57,7 +57,7 @@ HAS_REGEX=-DHAS_REGEX ### installdir ### will use $INSTDIR/bin and $INSTDIR/man/man1, ### both dirs have to exist for installation -INSTDIR=/usr/local +INSTDIR=${PREFIX} ### ------------------------------------------------------------------------ ### --- end of user settings -----------------------------------------------