aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nas/Makefile
blob: 3c2f15eb447d9947ca3a23b4d94048d9a9b93202 (plain) (blame)
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
# New ports collection makefile for:    nas (formerly netaudio)
# Date created:     03 Nov 1994
# Whom:         jkh
#
# $FreeBSD$
#

PORTNAME=   nas
PORTVERSION=    1.6
CATEGORIES= audio
MASTER_SITES=   http://radscan.com/nas/
EXTRACT_SUFX=   .src.tar.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Network Audio System

USE_REINPLACE=  yes
USE_IMAKE=  yes
ALL_TARGET= World
# no need to "xmkmf -a" and create the Makefiles twice -- see above
XMKMF=      xmkmf
INSTALLS_SHLIB= yes

post-patch:
    @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
        ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"

post-install:
    @${SED} -e 's:/usr/X11R6:${PREFIX}:g' ${PKGMESSAGE}

.include "Makefile.man"
.include <bsd.port.mk>