svn commit: r421918 - head/games/poker-eval

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Sep 12 09:01:33 UTC 2016


Author: amdmi3
Date: Mon Sep 12 09:01:32 2016
New Revision: 421918
URL: https://svnweb.freebsd.org/changeset/ports/421918

Log:
  - Switch to upstream versioning scheme
  - Switch to USES=pathfix
  - Switch to new test framework

Modified:
  head/games/poker-eval/Makefile

Modified: head/games/poker-eval/Makefile
==============================================================================
--- head/games/poker-eval/Makefile	Mon Sep 12 09:01:29 2016	(r421917)
+++ head/games/poker-eval/Makefile	Mon Sep 12 09:01:32 2016	(r421918)
@@ -2,11 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	poker-eval
-PORTVERSION=	0.138
-PORTREVISION=	1
+PORTVERSION=	138.0
 CATEGORIES=	games
 MASTER_SITES=	http://download.gna.org/pokersource/sources/
-DISTNAME=	${PORTNAME}-${PORTVERSION:E}.0
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	C library to evaluate poker hands
@@ -15,16 +13,9 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
-USES=		gmake libtool pkgconfig
+USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|{libdir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
-		${WRKSRC}/Makefile.in
-
-test:
-	@cd ${WRKSRC} && ${MAKE_CMD} check
+TEST_TARGET=	check
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list