diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-06-01 05:12:14 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-06-01 05:12:14 +0800 |
commit | 492afaa2fb9198100322328866e37716b85525cf (patch) | |
tree | 720939f4b3538e64a5898e8121b8f9686cfdc8a5 /games | |
parent | 9197ed2d2f6ccc6c09f305bfb60fa3a3d379ec74 (diff) | |
download | freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.gz freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.zst freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.zip |
- Convert to new options framework
- Remove uneeded double quotes
- While here fix various portlint warnings
- Indent make conditionals and loop
Approved by: Boris Samorodov <bsam@FreeBSD.org> (net/unison-nox11 maintainer)
Approved by: Matthias Andree <mandree@FreeBSD.org> (implicit, net/unison232 maintainer)
Approved by: tabthorpe (mentor)
Diffstat (limited to 'games')
-rw-r--r-- | games/pokerth/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index 67c64dc40bb2..20c0fc8366fd 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -17,11 +17,11 @@ COMMENT= A poker game written in C++/QT4 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \ - mikmod.2:${PORTSDIR}/audio/libmikmod \ - gnutls.47:${PORTSDIR}/security/gnutls \ - curl.6:${PORTSDIR}/ftp/curl \ - gsasl.15:${PORTSDIR}/security/gsasl \ +LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \ + mikmod:${PORTSDIR}/audio/libmikmod \ + gnutls:${PORTSDIR}/security/gnutls \ + curl:${PORTSDIR}/ftp/curl \ + gsasl5:${PORTSDIR}/security/gsasl \ tinyxml:${PORTSDIR}/textproc/tinyxml BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:${PORTSDIR}/irc/libircclient @@ -39,6 +39,8 @@ QMAKE_ARGS+= PREFIX=${PREFIX} PORTDOCS= server_setup_howto.txt MAN1= pokerth.1 +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ @@ -55,7 +57,7 @@ post-install: @${INSTALL_PROGRAM} ${WRKSRC}/pokerth ${PREFIX}/bin @${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${DOCSDIR} .endif |