blob: 006b2eca2e5b30ddef406cff7726efb7c5cac676 (
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
34
|
# 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_ESOUND= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INSTALLS_SHLIB= yes
MAN1= libmikmod-config.1
post-extract:
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
post-patch:
@${PERL} -pi -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.mk>
|