mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
13cc890dfb
PR: 41594 Submitted by: Brad Laue <brad@brad-x.com> * Remove unneeded gmake dependency.
44 lines
997 B
Makefile
44 lines
997 B
Makefile
# ports collection makefile for: libmikmod
|
|
# Date created: Sun Apr 11 13:06:01 PDT 1999
|
|
# Whom: Michael Haro <mharo@area51.fremont.ca.us>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libmikmod
|
|
PORTVERSION= 3.1.10
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
http://www.mikmod.org/files/libmikmod/
|
|
MASTER_SITE_SUBDIR= apps/sound/libs
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_REINPLACE= yes
|
|
WANT_ESOUND= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= libmikmod-config.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(HAVE_ESOUND)
|
|
USE_ESOUND= yes
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
.endif
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\$$CFLAGS -pthread|\$$CFLAGS ${PTHREAD_CFLAGS}|g ; \
|
|
s|-pthread \$$REENTRANT|\$$REENTRANT ${PTHREAD_CFLAGS}|g ; \
|
|
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
|
|
s|-lc_r|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|