aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-05-28 01:18:29 +0800
committerbsam <bsam@FreeBSD.org>2013-05-28 01:18:29 +0800
commitb20b7b0a3ee2a1478a1036d56cab51123deede8f (patch)
tree8a858a8fd35edea0db0ed8cbfc87fe848ae0f3e5 /sysutils
parent37afa5b90c5e8e390a65a49a54eb5799c3c46e8b (diff)
downloadfreebsd-ports-gnome-b20b7b0a3ee2a1478a1036d56cab51123deede8f.tar.gz
freebsd-ports-gnome-b20b7b0a3ee2a1478a1036d56cab51123deede8f.tar.zst
freebsd-ports-gnome-b20b7b0a3ee2a1478a1036d56cab51123deede8f.zip
. add LICENSE=GPLv2;
. bump PORTREVISION; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . trim Makefile headers; . add PLIST_FILES and PORTDOCS; . remove pkg-list.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/qlogtools/Makefile24
-rw-r--r--sysutils/qlogtools/pkg-plist11
2 files changed, 15 insertions, 20 deletions
diff --git a/sysutils/qlogtools/Makefile b/sysutils/qlogtools/Makefile
index 910702443fd5..3aad0a5248e1 100644
--- a/sysutils/qlogtools/Makefile
+++ b/sysutils/qlogtools/Makefile
@@ -1,22 +1,24 @@
-# New ports collection makefile for: qlogtools
-# Date created: 22 Aug 2002
-# Whom: Sergei Kolobov <sergei@kolobov.com>
-#
+# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
-#
PORTNAME= qlogtools
PORTVERSION= 3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for processing logs from qmail and other packages
+LICENSE= GPLv2
+
+PLIST_FILES= bin/multipipe bin/multitail bin/qfilelog bin/spipe \
+ bin/tai2tai64n bin/tai64n2tai bin/teepipe
MAN1= multipipe.1 multitail.1 qfilelog.1 \
spipe.1 tai2tai64n.1 tai64n2tai.1 teepipe.1
-DOCS= NEWS README
+PORTDOCS= NEWS README
+
+OPTIONS_DEFINE= DOCS
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
@@ -26,9 +28,13 @@ do-configure:
do-install:
cd ${WRKSRC} && ./installer
-.if !defined(NOPORTDOCS)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+post-install:
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/sysutils/qlogtools/pkg-plist b/sysutils/qlogtools/pkg-plist
deleted file mode 100644
index d99fcfcbfd5f..000000000000
--- a/sysutils/qlogtools/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $FreeBSD$
-bin/multipipe
-bin/multitail
-bin/qfilelog
-bin/spipe
-bin/tai2tai64n
-bin/tai64n2tai
-bin/teepipe
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%