2020-08-17 12:51:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.31 2020/08/17 10:51:44 jperkin Exp $
|
1998-02-21 23:43:46 +01:00
|
|
|
#
|
|
|
|
|
1999-02-08 22:27:09 +01:00
|
|
|
DISTNAME= xwave2
|
|
|
|
PKGNAME= xwave-2.0
|
2008-11-10 18:21:33 +01:00
|
|
|
PKGREVISION= 2
|
1999-02-08 22:27:09 +01:00
|
|
|
CATEGORIES= audio x11
|
2001-12-02 22:24:35 +01:00
|
|
|
MASTER_SITES= # empty
|
1998-02-21 23:43:46 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-16 14:30:32 +01:00
|
|
|
COMMENT= Audio player/recorder/editor for the X Window System
|
2016-04-20 14:10:24 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
1998-02-21 23:43:46 +01:00
|
|
|
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin lib/X11/app-defaults
|
1998-02-21 23:43:46 +01:00
|
|
|
|
2010-10-06 09:39:31 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2020-04-27 20:19:15 +02:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2020-04-27 20:12:43 +02:00
|
|
|
|
2020-08-17 12:51:44 +02:00
|
|
|
.if ${OSS_TYPE} != "none" && ${DEVOSSAUDIO} != /dev/audio
|
2010-10-06 09:38:32 +02:00
|
|
|
SUBST_CLASSES+= devaudio
|
|
|
|
SUBST_STAGE.devaudio= pre-configure
|
|
|
|
SUBST_FILES.devaudio= src/XWave
|
|
|
|
SUBST_SED.devaudio= -e 's,/dev/audio,${DEVOSSAUDIO},g'
|
2020-04-27 20:12:43 +02:00
|
|
|
.endif
|
2010-10-06 09:38:32 +02:00
|
|
|
|
1999-02-08 22:27:09 +01:00
|
|
|
do-install:
|
2008-03-02 07:10:30 +01:00
|
|
|
${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
|
1999-02-08 22:27:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${WRKSRC}/README-XWAVE2 \
|
|
|
|
${WRKSRC}/README.v06 \
|
|
|
|
${WRKSRC}/COPYING \
|
|
|
|
${WRKSRC}/INSTALL \
|
2008-03-02 07:10:30 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/xwave2
|
1998-02-21 23:43:46 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2002-09-25 08:37:20 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|