44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $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
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
|
|
.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"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|