mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= balazar
|
|
PORTVERSION= 0.3.4
|
|
PORTREVISION= 7
|
|
CATEGORIES= games python
|
|
MASTER_SITES= http://download.gna.org/balazar/
|
|
DISTNAME= Balazar-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 3D adventure and roleplaying game
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
LIB_DEPENDS= libcal3d.so:${PORTSDIR}/graphics/cal3d \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
|
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
|
|
${PYTHON_PKGNAMEPREFIX}openal>0:${PORTSDIR}/audio/py-openal \
|
|
${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis \
|
|
${PYTHON_PKGNAMEPREFIX}tofu>0:${PORTSDIR}/net/py-tofu \
|
|
${PYTHON_PKGNAMEPREFIX}cerealizer>0:${PORTSDIR}/security/py-cerealizer
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= gettext python tar:bzip2 twisted
|
|
USE_GL= glew
|
|
USE_SDL= mixer sdl
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PYDISTUTILS_PKGNAME= Balazar
|
|
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
|
|
|
|
PORTDOCS= README
|
|
|
|
DESKTOP_ENTRIES="Balazar" "" "" "balazar" "" ""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^install-purelib/s|=.*|= ${PREFIX}/share| ; \
|
|
/^install-scripts/s|=.*|= ${PREFIX}/bin| ; \
|
|
/^install-data/s|=.*|= ${PREFIX}/share|' ${WRKSRC}/setup.cfg
|
|
@${REINPLACE_CMD} -e \
|
|
'/LC_MESSAGES/s|".",||' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|