Annotation of pkgsrc/audio/herrie/Makefile, Revision 1.19
1.19 ! obache 1: # $NetBSD: Makefile,v 1.18 2012/09/12 00:24:39 asau Exp $
1.1 bjs 2: #
3:
1.11 bjs 4: DISTNAME= herrie-2.2
1.19 ! obache 5: PKGREVISION= 6
1.1 bjs 6: CATEGORIES= audio
7: MASTER_SITES= http://herrie.info/distfiles/
8: EXTRACT_SUFX= .tar.bz2
9:
1.13 wiz 10: MAINTAINER= pkgsrc-users@NetBSD.org
1.1 bjs 11: HOMEPAGE= http://herrie.info/
12: COMMENT= Minimalistic, ncurses-based audio player
13:
14: HAS_CONFIGURE= yes
15: USE_LIBTOOL= yes
16: USE_TOOLS+= gmake msgfmt pkg-config
1.11 bjs 17: USE_PKGLOCALEDIR= yes
1.1 bjs 18:
19: CONFIGURE_ARGS+= verbose
20:
21: EGDIR= ${PREFIX}/share/examples/herrie
1.5 bjs 22: CONF_FILES= ${EGDIR}/herrie.conf ${PKG_SYSCONFDIR}/herrie.conf
23:
1.1 bjs 24: CONFIGURE_ENV+= CONFDIR=${PKG_SYSCONFDIR:Q}
25: CONFIGURE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
26: CONFIGURE_ENV+= TRANSDIR=${PREFIX}/${PKGLOCALEDIR}/locale
27:
28: RESOLV_AUTO_VARS= yes
29: USE_FEATURES= snprintf regcomp
30: USE_NCURSES= yes
31:
1.9 bjs 32: AUTO_MKDIRS= yes
1.1 bjs 33:
34: .include "options.mk"
35:
36: SUBST_CLASSES+= conf
37: SUBST_STAGE.conf= pre-configure
38: SUBST_FILES.conf= ${WRKDIR}/herrie.conf
39: SUBST_MESSAGE.conf= Preparing example configuration file.
40: SUBST_VARS.conf= DEVOSSAUDIO HERRIE_USE_OSS
41:
42: post-extract:
43: ${RUN} ${CP} ${FILESDIR}/herrie.conf ${WRKDIR}
44:
45: post-install:
46: ${RUN} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} && \
47: ${INSTALL_DATA} ${WRKDIR}/herrie.conf ${DESTDIR}${EGDIR}
48:
49: .include "../../audio/libid3tag/buildlink3.mk"
50: .include "../../audio/libmad/buildlink3.mk"
51: .include "../../devel/glib2/buildlink3.mk"
1.2 bjs 52: .include "../../devel/zlib/buildlink3.mk"
1.1 bjs 53: .include "../../mk/resolv.buildlink3.mk"
54: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>