pkgsrc/audio/herrie/Makefile
wiz c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00

54 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2015/08/18 07:31:02 wiz Exp $
#
DISTNAME= herrie-2.2
PKGREVISION= 11
CATEGORIES= audio
MASTER_SITES= http://herrie.info/distfiles/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://herrie.info/
COMMENT= Minimalistic, ncurses-based audio player
HAS_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= verbose
EGDIR= ${PREFIX}/share/examples/herrie
CONF_FILES= ${EGDIR}/herrie.conf ${PKG_SYSCONFDIR}/herrie.conf
CONFIGURE_ENV+= CONFDIR=${PKG_SYSCONFDIR:Q}
CONFIGURE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
CONFIGURE_ENV+= TRANSDIR=${PREFIX}/${PKGLOCALEDIR}/locale
RESOLV_AUTO_VARS= yes
USE_FEATURES= snprintf regcomp
USE_NCURSES= yes
AUTO_MKDIRS= yes
.include "options.mk"
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= ${WRKDIR}/herrie.conf
SUBST_MESSAGE.conf= Preparing example configuration file.
SUBST_VARS.conf= DEVOSSAUDIO HERRIE_USE_OSS
post-extract:
${RUN} ${CP} ${FILESDIR}/herrie.conf ${WRKDIR}
post-install:
${RUN} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} && \
${INSTALL_DATA} ${WRKDIR}/herrie.conf ${DESTDIR}${EGDIR}
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/resolv.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"