pkgsrc/sysutils/gamin/Makefile
2007-09-24 12:57:04 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2007/09/24 12:57:04 obache Exp $
DISTNAME= gamin-0.1.9
CATEGORIES= sysutils
MASTER_SITES= http://www.gnome.org/~veillard/gamin/sources/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/~veillard/gamin/
COMMENT= File alteration monitor
CONFLICTS= fam-[0-9]*
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-debug
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --without-threads
CONFIGURE_ARGS+= --with-html-dir=${DOCDIR:Q}
CONFIGURE_ARGS+= --without-python
PKG_SYSCONFSUBDIR= gamin
DOCDIR= ${PREFIX}/share/doc/gamin
SUBST_CLASSES+= sysconfdir
SUBST_MESSAGE.sysconfdir=fixing up sysconfdir
SUBST_STAGE.sysconfdir= pre-configure
SUBST_FILES.sysconfdir= doc/config.html doc/gamin.html server/gam_conf.c
SUBST_SED.sysconfdir= -e "s,/etc/gamin/,${PKG_SYSCONFDIR}/,"
.include "../../devel/glib2/buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc; for file in *.html *.gif *.txt *.xml; do \
${INSTALL_DATA} $$file ${DOCDIR}/$$file; \
done
.include "../../mk/bsd.pkg.mk"