1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/py-sdl_mixer/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: pysdl_mixer
# Date created: 2005-10-05
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= sdl_mixer
PORTVERSION= 0.0.3
PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= http://download.gna.org/pysdlmixer/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pysdl_mixer-${PORTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= Pysdl_mixer is a python interface to SDL's sdl_mixer
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
DIST_SUBDIR= python
USE_SDL= sdl mixer
USE_PYTHON= yes
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/pysdl_mixer-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-sdl-mixer
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>