mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
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.11
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://mikmod.raphnet.net/files/
|
|
|
|
MAINTAINER= david@dyn-ns.net
|
|
COMMENT= MikMod Sound Library
|
|
|
|
WANT_GNOME= yes
|
|
USE_GNOME= gnometarget lthack
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:13:inc
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
MAKE_ENV= SHELL=/bin/sh
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= libmikmod-config.1
|
|
INFO= mikmod
|
|
|
|
.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' \
|
|
-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
|
|
|
|
.include <bsd.port.post.mk>
|