aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-24 21:59:27 +0800
committersergei <sergei@FreeBSD.org>2003-12-24 21:59:27 +0800
commitbec7ef9a6c11939438a9058bb1961fca8b26a9a8 (patch)
treeabf79bdb1a047f5a3b18a9517aa8d21d846d66b2 /sysutils
parent2813c1f6662024ab3a7ac7351b2f045c84042a5a (diff)
downloadfreebsd-ports-gnome-bec7ef9a6c11939438a9058bb1961fca8b26a9a8.tar.gz
freebsd-ports-gnome-bec7ef9a6c11939438a9058bb1961fca8b26a9a8.tar.zst
freebsd-ports-gnome-bec7ef9a6c11939438a9058bb1961fca8b26a9a8.zip
- Install some documentation
- Cosmetic fixes for consistency with other untroubled.org ports - Bump PORTREVISION
Diffstat (limited to 'sysutils')
-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%%