pkgsrc/audio/xwave/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

2020-08-17 12:51:44 +02:00
# $NetBSD: Makefile,v 1.31 2020/08/17 10:51:44 jperkin Exp $
#
DISTNAME= xwave2
PKGNAME= xwave-2.0
PKGREVISION= 2
CATEGORIES= audio x11
MASTER_SITES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Audio player/recorder/editor for the X Window System
LICENSE= gnu-gpl-v2
USE_IMAKE= YES
INSTALLATION_DIRS= bin lib/X11/app-defaults
2010-10-06 09:39:31 +02:00
MAKE_JOBS_SAFE= no
.include "../../mk/oss.buildlink3.mk"
2020-08-17 12:51:44 +02:00
.if ${OSS_TYPE} != "none" && ${DEVOSSAUDIO} != /dev/audio
SUBST_CLASSES+= devaudio
SUBST_STAGE.devaudio= pre-configure
SUBST_FILES.devaudio= src/XWave
SUBST_SED.devaudio= -e 's,/dev/audio,${DEVOSSAUDIO},g'
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/XWave \
${DESTDIR}${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xwave2
${INSTALL_DATA} ${WRKSRC}/README \
${WRKSRC}/README-XWAVE2 \
${WRKSRC}/README.v06 \
${WRKSRC}/COPYING \
${WRKSRC}/INSTALL \
${DESTDIR}${PREFIX}/share/doc/xwave2
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
2002-09-25 08:37:20 +02:00
.include "../../mk/bsd.pkg.mk"