mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +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)
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pokerth
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 7
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.1
|
|
DISTNAME= PokerTH-${PORTVERSION}-src
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Poker game written in C++/Qt4
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
|
|
libmikmod.so:${PORTSDIR}/audio/libmikmod \
|
|
libgnutls.so:${PORTSDIR}/security/gnutls \
|
|
libcurl.so:${PORTSDIR}/ftp/curl \
|
|
libgsasl.so:${PORTSDIR}/security/gsasl \
|
|
libtinyxml.so:${PORTSDIR}/textproc/tinyxml \
|
|
libprotobuf.so:${PORTSDIR}/devel/protobuf
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:${PORTSDIR}/irc/libircclient
|
|
|
|
USES= iconv gmake qmake tar:bzip2
|
|
USE_QT4= gui corelib network sql sql-sqlite3 \
|
|
moc_build rcc_build uic_build
|
|
USE_SDL= mixer
|
|
QMAKE_SOURCE_PATH= pokerth.pro
|
|
|
|
PORTDOCS= server_setup_howto.txt
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
|
|
-e 's|(-lcurl)|\1 ${ICONV_LIB}|g' \
|
|
-e 's|(-lcrypto) -liconv|\1 ${ICONV_LIB}|' \
|
|
-e 's:boost_([a-z]+)-[-|a-z|0-9|_]*:boost_\1:g' \
|
|
-e 's|LIB_DIRS =.*|LIB_DIRS = ${LOCALBASE}/lib|g' \
|
|
-e '/.*QMAKE_CXXFLAGS.*/d' \
|
|
${WRKSRC}/*.pro
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|