summaryrefslogtreecommitdiff
path: root/audio/nas/Makefile
blob: 733ef8aa13670ef051b610c7d3e2f36072914066 (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
33
# New ports collection makefile for:	nas (formerly netaudio)
# Date created:		03 Nov 1994
# Whom:			jkh
#
# $FreeBSD$
#

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

MAINTAINER=	ports@FreeBSD.org

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

.include <bsd.port.pre.mk>

.include "${.CURDIR}/Makefile.man"

post-patch:
	@find ${WRKSRC} -name '*.[ch]' | xargs \
		${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"

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

.include <bsd.port.post.mk>