mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
85d31308fb
Properly fix shebang on bin/auscope Run depends on perl Strip binaries
44 lines
1012 B
Makefile
44 lines
1012 B
Makefile
# Created by: jkh
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nas
|
|
PORTVERSION= 1.9.4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}%20%28stable%29
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Network Audio System
|
|
|
|
USES= imake perl5 shebangfix
|
|
SHEBANG_FILES= clients/audio/auscope/auscope
|
|
USE_PERL5= run
|
|
USE_CSTD= gnu89
|
|
USE_XORG= x11 xext xt xau sm ice xp xpm xmu xaw
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-configure:
|
|
# Work around shortcomings of the Imake.rules et. al:
|
|
${REINPLACE_CMD} -e 's:-fPIC:${FPIC} -DPIC:g' \
|
|
-e 's,-c \$$(CCOPTIONS),-c $$(CFLAGS),' \
|
|
-e 's,\(\$$(AR) \$$@ \$$\)(OBJS),\1(OBJS:S|^|unshared/|),' \
|
|
${WRKSRC}/lib/audio/Makefile
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
FPIC= -fPIC
|
|
.else
|
|
FPIC= -fpic
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudio.so.2
|
|
|
|
.include <bsd.port.post.mk>
|