pkgsrc/audio/herrie/Makefile
bjs 35c726b104 Update to herrie-2.1. NOTE: the OSSv4 audio volume API change only applies
if OSSv4 is installed, so functionality should be retained on OSS-emulating
platforms, e.g. NetBSD and OpenBSD.

2008-07-15 -- Herrie 2.1:
 * Added: -p switch to start playback on startup - Phillip Warner
 * Fixed: Crash in seek time format parsing
 * Added: 'F' button to jump to files in the file browser
 * Improved: Use OSSv4 volume adjustment API - Paulo Matias
2008-07-16 07:21:23 +00:00

54 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2008/07/16 07:21:23 bjs Exp $
#
DISTNAME= herrie-2.1
CATEGORIES= audio
MASTER_SITES= http://herrie.info/distfiles/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://herrie.info/
COMMENT= Minimalistic, ncurses-based audio player
PKG_DESTDIR_SUPPORT= user-destdir
HAS_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake msgfmt pkg-config
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"