2001-03-12 20:40:04 +01:00
|
|
|
# ports collection makefile for: libmikmod
|
|
|
|
# Date created: Sun Apr 11 13:06:01 PDT 1999
|
|
|
|
# Whom: Michael Haro <mharo@area51.fremont.ca.us>
|
1999-05-06 00:16:14 +02:00
|
|
|
#
|
1999-08-25 06:36:31 +02:00
|
|
|
# $FreeBSD$
|
1999-05-06 00:16:14 +02:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= libmikmod
|
2004-04-08 22:41:21 +02:00
|
|
|
PORTVERSION= 3.1.11
|
1999-05-06 00:16:14 +02:00
|
|
|
CATEGORIES= audio
|
2004-04-08 22:41:21 +02:00
|
|
|
MASTER_SITES= http://mikmod.raphnet.net/files/
|
1999-05-06 00:16:14 +02:00
|
|
|
|
2003-12-04 10:50:27 +01:00
|
|
|
MAINTAINER= david@dyn-ns.net
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= MikMod Sound Library
|
1999-05-06 00:16:14 +02:00
|
|
|
|
2002-08-22 06:48:10 +02:00
|
|
|
WANT_GNOME= yes
|
2004-04-08 22:41:21 +02:00
|
|
|
USE_GNOME= gnometarget lthack
|
|
|
|
USE_REINPLACE= yes
|
2002-08-22 06:48:10 +02:00
|
|
|
USE_GMAKE= yes
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2002-03-07 03:42:41 +01:00
|
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
2002-08-23 20:48:50 +02:00
|
|
|
MAKE_ENV= SHELL=/bin/sh
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-06-05 09:43:16 +02:00
|
|
|
|
2003-08-16 12:20:04 +02:00
|
|
|
MAN1= libmikmod-config.1
|
|
|
|
INFO= mikmod
|
1999-06-05 09:43:16 +02:00
|
|
|
|
2002-08-16 21:51:41 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-08-22 06:48:10 +02:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
2004-04-08 22:41:21 +02:00
|
|
|
USE_GNOME+= esound
|
2002-08-22 06:48:10 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
|
|
PKGNAMESUFFIX= -esound
|
2002-08-16 21:51:41 +02:00
|
|
|
.else
|
2002-08-22 06:48:10 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2002-08-16 21:51:41 +02:00
|
|
|
.endif
|
|
|
|
|
2002-03-07 03:42:41 +01:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
|
2000-08-15 13:34:32 +02:00
|
|
|
|
2002-03-07 03:42:41 +01:00
|
|
|
post-patch:
|
2003-09-08 09:49:23 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|\$$CFLAGS -pthread|\$$CFLAGS ${PTHREAD_CFLAGS}|g' \
|
|
|
|
-e 's|-pthread \$$REENTRANT|\$$REENTRANT ${PTHREAD_CFLAGS}|g' \
|
|
|
|
-e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \
|
|
|
|
-e 's|-pthread|${PTHREAD_LIBS:S/"//g}|g' \
|
|
|
|
-e 's|-lc_r|${PTHREAD_LIBS:S/"//g}|g' \
|
|
|
|
${WRKSRC}/configure
|
1999-05-06 00:16:14 +02:00
|
|
|
|
2002-08-16 21:51:41 +02:00
|
|
|
.include <bsd.port.post.mk>
|