aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/qlogtools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/qlogtools/Makefile')
-rw-r--r--sysutils/qlogtools/Makefile18
1 files changed, 14 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>