aboutsummaryrefslogtreecommitdiff
path: root/sysutils/qlogtools
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-24 13:59:27 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-24 13:59:27 +0000
commit26eaf8db88acccd40876f4f42f2ed853b2f9af17 (patch)
tree1ce270ca1d2b9834f93bbdc92b0764d1ff6b49ae /sysutils/qlogtools
parent8cda227f0c8e4a65b3622ea6ef9da690ccc4dacb (diff)
downloadports-26eaf8db88acccd40876f4f42f2ed853b2f9af17.tar.gz
ports-26eaf8db88acccd40876f4f42f2ed853b2f9af17.zip
- Install some documentation
- Cosmetic fixes for consistency with other untroubled.org ports - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=96531
Diffstat (limited to 'sysutils/qlogtools')
-rw-r--r--sysutils/qlogtools/Makefile18
-rw-r--r--sysutils/qlogtools/pkg-plist4
2 files changed, 18 insertions, 4 deletions
diff --git a/sysutils/qlogtools/Makefile b/sysutils/qlogtools/Makefile
index d7cf8a454ea7..e24a19847436 100644
--- a/sysutils/qlogtools/Makefile
+++ b/sysutils/qlogtools/Makefile
@@ -7,20 +7,30 @@
PORTNAME= qlogtools
PORTVERSION= 3.1
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://untroubled.org/qlogtools/
+MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Tools for processing logs from qmail and other packages
+LDFLAGS?= -s
+
MAN1= multipipe.1 multitail.1 qfilelog.1 \
spipe.1 tai2tai64n.1 tai64n2tai.1 teepipe.1
+DOCS= NEWS README
-pre-build:
- ${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
- ${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
+do-configure:
+ ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+ ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC} && ./installer
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/sysutils/qlogtools/pkg-plist b/sysutils/qlogtools/pkg-plist
index d5f817c46e96..d99fcfcbfd5f 100644
--- a/sysutils/qlogtools/pkg-plist
+++ b/sysutils/qlogtools/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/multipipe
bin/multitail
bin/qfilelog
@@ -5,3 +6,6 @@ bin/spipe
bin/tai2tai64n
bin/tai64n2tai
bin/teepipe
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%