openbsd-ports/sysutils/multitail/Makefile
gsoares 18919b55c7 - update to 5.2.8
- doesn't need groff
- regen PLIST
ok jasper@ sthen@
2011-04-27 11:40:24 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2011/04/27 11:40:24 gsoares Exp $
COMMENT= multi-window tail(1) utility
DISTNAME= multitail-5.2.8
CATEGORIES= sysutils
HOMEPAGE= http://www.vanheusden.com/multitail/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
WANTLIB= c m ncurses util panel
NO_REGRESS= Yes
MAKE_FLAGS= CC='${CC}' \
CFLAGS='${CFLAGS} -funsigned-char -DVERSION=\"$${VERSION}\" \
-DCONFIG_FILE=\"${SYSCONFDIR}/multitail.conf\"' \
LDFLAGS='-lpanel -lncurses -lutil -lm'
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/multitail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/multitail.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/multitail
${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/manual.html \
${PREFIX}/share/doc/multitail
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/multitail
${INSTALL_DATA} ${WRKSRC}/multitail.conf \
${PREFIX}/share/examples/multitail
@perl -i -pe \
's:/etc/multitail/:${TRUEPREFIX}/share/examples/multitail/:' \
${PREFIX}/share/examples/multitail/multitail.conf
${INSTALL_DATA} ${WRKSRC}/convert-* ${WRKSRC}/colors-* \
${PREFIX}/share/examples/multitail
.include <bsd.port.mk>