summaryrefslogtreecommitdiff
path: root/audio/snd/Makefile
blob: fe1d1f15e95fe5f9c1a060d7e7466ddb2f2d1f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.9 1998/05/11 11:34:05 frueauf Exp $
#

DISTNAME=		snd
PKGNAME=		snd-19980212
NO_WRKSUBDIR=		YES
CATEGORIES=		audio
MASTER_SITES=		${MASTER_SITE_LOCAL}

MAINTAINER=		hubertf@netbsd.org

DEPENDS+=		xpm-3.4j:../../graphics/xpm

USE_X11=		YES
REQUIRES_MOTIF=		YES
MAKEFILE=		makefile.netbsd
ALL_TARGET=		snd

post-patch:
	${MV} ${WRKSRC}/makefile.netbsd ${WRKSRC}/makefile.netbsd.bak
	${CAT} ${WRKSRC}/makefile.netbsd.bak | \
		${SED} s/@LOCALBASE@/${LOCALBASE:S/\//\\\\\//g}/g | \
		${SED} s/@X11BASE@/${X11BASE:S/\//\\\\\//g}/g \
		> ${WRKSRC}/makefile.netbsd

do-install:
	cd ${WRKSRC} ; ${INSTALL_PROGRAM} snd ${PREFIX}/bin
	cd ${WRKSRC} ; ${INSTALL_DATA} Snd.ad ${PREFIX}/lib/X11/app-defaults/Snd
	${MKDIR} ${PREFIX}/share/doc/snd
	cd ${WRKSRC} ; ${INSTALL_DATA} *.gif *.html *.txt README.Snd ${PREFIX}/share/doc/snd

.include "../../mk/bsd.pkg.mk"