aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2014-06-24 05:18:05 +0800
committerrodrigo <rodrigo@FreeBSD.org>2014-06-24 05:18:05 +0800
commitc3eb6893be4bfcad1edb7535ebf6ea6156b35ec4 (patch)
tree220cae7564f3b65e60c57ef5d6695fe734f8509f /sysutils
parent4f544339beb4f669a8b805dd38bb0b771191f381 (diff)
downloadfreebsd-ports-gnome-c3eb6893be4bfcad1edb7535ebf6ea6156b35ec4.tar.gz
freebsd-ports-gnome-c3eb6893be4bfcad1edb7535ebf6ea6156b35ec4.tar.zst
freebsd-ports-gnome-c3eb6893be4bfcad1edb7535ebf6ea6156b35ec4.zip
- Take maintenership (feld@ drop its maintenership)
- Stagify the port Approved by: bapt (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/logtool/Makefile21
-rw-r--r--sysutils/logtool/pkg-plist1
2 files changed, 10 insertions, 12 deletions
diff --git a/sysutils/logtool/Makefile b/sysutils/logtool/Makefile
index ee9510c3839a..049bef4fd82e 100644
--- a/sysutils/logtool/Makefile
+++ b/sysutils/logtool/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.3.1
CATEGORIES= sysutils
MASTER_SITES= http://xjack.org/logtool/download/
-MAINTAINER= dhn@FreeBSD.org
+MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Parse ASCII logfiles into ANSI, CSV, HTML formats
USES= gmake
@@ -16,25 +16,22 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/${PORTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
-MAN1= logtool.1
DOCS= CHANGES CREDITS README TODO doc/logtool.txt
-NO_STAGE= yes
do-build:
cd ${WRKSRC}/src && ${GMAKE} INCLUDES="${CPPFLAGS}"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/logtool ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/scripts
- ${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR}
- @${RM} ${EXAMPLESDIR}/logtool.conf.in
- ${INSTALL_DATA} ${WRKSRC}/scripts/* ${EXAMPLESDIR}/scripts
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/logtool ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts
+ ${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR}
+ @${RM} ${STAGEDIR}${EXAMPLESDIR}/logtool.conf.in
+ ${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}/scripts
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
@${SED} -e 's!PREFIX!${PREFIX}!' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
- ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/logtool/pkg-plist b/sysutils/logtool/pkg-plist
index bd8a38e1c8f3..a800d4595ccb 100644
--- a/sysutils/logtool/pkg-plist
+++ b/sysutils/logtool/pkg-plist
@@ -1,4 +1,5 @@
bin/logtool
+man/man1/logtool.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/README