Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 13:56:16 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368374 - head/devel/uatraits
Message-ID:  <201409171356.s8HDuGu2066163@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Sep 17 13:56:16 2014
New Revision: 368374
URL: http://svnweb.freebsd.org/changeset/ports/368374
QAT: https://qat.redports.org/buildarchive/r368374/

Log:
  Convert to USES=autoreconf and USES=python

Modified:
  head/devel/uatraits/Makefile

Modified: head/devel/uatraits/Makefile
==============================================================================
--- head/devel/uatraits/Makefile	Wed Sep 17 13:40:22 2014	(r368373)
+++ head/devel/uatraits/Makefile	Wed Sep 17 13:56:16 2014	(r368374)
@@ -10,34 +10,21 @@ MASTER_SITES=	http://people.freebsd.org/
 MAINTAINER=	demon@FreeBSD.org
 COMMENT=	User-Agent detection library
 
-BUILD_DEPENDS=	autoconf:${PORTSDIR}/devel/autoconf \
-		automake:${PORTSDIR}/devel/automake \
-		libtool:${PORTSDIR}/devel/libtool
 LIB_DEPENDS=	libboost_python.so:${PORTSDIR}/devel/boost-python-libs \
 		libpcre.so:${PORTSDIR}/devel/pcre \
 		libxml2.so:${PORTSDIR}/textproc/libxml2
 
-USES=		libtool pkgconfig
+USES=		autoreconf libtool pkgconfig python
 GNU_CONFIGURE=	yes
-USE_PYTHON=	yes
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
-.include <bsd.port.pre.mk>
+CONFIGURE_ARGS=	--with-boost-prefix=${LOCALBASE} \
+		--with-pcre-prefix=${LOCALBASE} \
+		--enable-python --disable-perl --disable-tests \
+		--disable-java --disable-nodejs
+CONFIGURE_ENV=	crypto_CFLAGS="-I${OPENSSLINC}" \
+		crypto_LIBS="-L${OPENSSLLIB} -lcrypto"
+CPPFLAGS+=	-I${LOCALBASE}/include
 
-.if exists(${PYTHON_CMD}-config)
-PYLIBS!=	${PYTHON_CMD}-config --libs
-.endif
-CONFIGURE_ARGS+=	--with-boost-prefix=${LOCALBASE} \
-			--with-pcre-prefix=${LOCALBASE} \
-			--enable-python --disable-perl --disable-tests \
-			--disable-java --disable-nodejs
-CPPFLAGS+=	"-I${LOCALBASE}/include"
-CONFIGURE_ENV+=		crypto_CFLAGS="-I${OPENSSLINC}" \
-			crypto_LIBS="-L${OPENSSLLIB} -lcrypto" \
-			PYTHON_LIBS="${PYLIBS} -L${LOCALBASE}/lib"
-
-pre-configure:
-	cd ${WRKSRC} && ./autogen.sh
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409171356.s8HDuGu2066163>