1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/sysutils/qlogtools/Makefile
Dmitry Marakasov f58c930d8d - Fix license
- Switch to options helpers
2016-02-18 09:48:24 +00:00

35 lines
856 B
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= qlogtools
PORTVERSION= 3.1
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for processing logs from qmail and other packages
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
do-configure:
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${STAGEDIR}${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${STRIP} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC} && ./installer
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>