freebsd-ports/sysutils/xlogmaster/Makefile

33 lines
768 B
Makefile
Raw Normal View History

# Created by: Adrian Wontroba <aw1@stade.co.uk>
1999-08-31 04:00:46 +02:00
# $FreeBSD$
PORTNAME= xlogmaster
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
2003-02-21 14:28:59 +01:00
COMMENT= Quick & easy monitoring of logfiles and devices
USE_GNOME= gtk12
USES= gmake makeinfo
2000-10-05 08:42:57 +02:00
GNU_CONFIGURE= yes
INFO= xlogmaster
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
2014-08-03 15:44:05 +02:00
@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} -E \
'/(SHELL|cp -f|mkinstalldirs)/ s,XLM_(DB|HOME|LIB),DESTDIR)$$(&,g' {} \;
@${REINPLACE_CMD} -e \
's|getopt_long_only|getopt_long|g' ${WRKSRC}/src/xlogmaster.cc
post-install:
2014-08-03 15:44:05 +02:00
${INSTALL_DATA} ${FILESDIR}/xlogmasterrc \
${STAGEDIR}${PREFIX}/etc/xlogmaster
.include <bsd.port.mk>