svn commit: r373744 - head/games/py-poker-eval

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 2 04:15:39 UTC 2014


Author: amdmi3
Date: Tue Dec  2 04:15:39 2014
New Revision: 373744
URL: https://svnweb.freebsd.org/changeset/ports/373744
QAT: https://qat.redports.org/buildarchive/r373744/

Log:
  - Pet portlint
  - Strip library

Modified:
  head/games/py-poker-eval/Makefile

Modified: head/games/py-poker-eval/Makefile
==============================================================================
--- head/games/py-poker-eval/Makefile	Tue Dec  2 04:15:33 2014	(r373743)
+++ head/games/py-poker-eval/Makefile	Tue Dec  2 04:15:39 2014	(r373744)
@@ -12,11 +12,11 @@ DISTNAME=	py${PORTNAME}-${PORTVERSION:E}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python adaptor for the poker-eval toolkit
 
-LIB_DEPENDS=	libpoker-eval.so:${PORTSDIR}/games/poker-eval
-
 LICENSE=	GPLv3 # or later
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libpoker-eval.so:${PORTSDIR}/games/poker-eval
+
 USES=		libtool pkgconfig python:2
 USE_AUTOTOOLS=	aclocal autoconf automake
 ACLOCAL_ARGS=	-I config
@@ -28,6 +28,9 @@ PLIST_SUB=	PYVER=${PYTHON_VER:S/./_/}
 post-configure:
 	@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC}/config
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pokereval_2_7.so.1.0.0
+
 test:
 	@cd ${WRKSRC} && ${MAKE} check
 


More information about the svn-ports-head mailing list