mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +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)
68 lines
1.6 KiB
Makefile
68 lines
1.6 KiB
Makefile
# Created by: Anton Yudin <toha@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= warmux
|
|
DISTVERSION= 11.04.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://download.gna.org/${PORTNAME}/ \
|
|
http://download.gna.org/${PORTNAME}/archive/
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Turn-based artillery game with free software mascots
|
|
|
|
LIB_DEPENDS= libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
|
|
libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
CONFLICTS_INSTALL= wormux-*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= dos2unix gmake pkgconfig tar:bzip2
|
|
USE_SDL= sdl image mixer ttf gfx net
|
|
DOS2UNIX_GLOB= fixed_class.h
|
|
|
|
OPTIONS_DEFINE= FRIBIDI SERVER NLS DEBUG
|
|
FRIBIDI_DESC= Enable bi-directional unicode support
|
|
SERVER_DESC= Enable dedicated server
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/src/Makefile.in ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e "s,warmux_files.desktop,," ${WRKSRC}/data/Makefile.in
|
|
${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete
|
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
CONFIGURE_ARGS+= --enable-debug \
|
|
--enable-logging
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSERVER}
|
|
PLIST_SUB+= SERVER=""
|
|
CONFIGURE_ARGS+= --enable-servers
|
|
.else
|
|
PLIST_SUB+= SERVER="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MFRIBIDI}
|
|
LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi
|
|
CONFIGURE_ARGS+= --enable-fribidi
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-fribidi
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|