freebsd-ports/audio/libmikmod/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

# ports collection makefile for: libmikmod
# Date created: Sun Apr 11 13:06:01 PDT 1999
# Whom: Michael Haro <mharo@area51.fremont.ca.us>
#
1999-08-25 06:36:31 +02:00
# $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
2001-03-07 22:07:14 +01:00
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_GNOMENG= yes
WANT_GNOME= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
MAKE_ENV= SHELL=/bin/sh
INSTALLS_SHLIB= yes
MAN1= libmikmod-config.1
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME= esound
CONFIGURE_ARGS+= --enable-esd
PKGNAMESUFFIX= -esound
.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>