aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-17 21:56:16 +0800
committertijl <tijl@FreeBSD.org>2014-09-17 21:56:16 +0800
commit901089891bc8ecfa58709b8a9d5c557f7b37f4a1 (patch)
tree211e148730b3298301dbbc3809feb639b6c0b24c
parentdf907366d883217e406ac782eb034fc7759f0ef2 (diff)
downloadfreebsd-ports-gnome-901089891bc8ecfa58709b8a9d5c557f7b37f4a1.tar.gz
freebsd-ports-gnome-901089891bc8ecfa58709b8a9d5c557f7b37f4a1.tar.zst
freebsd-ports-gnome-901089891bc8ecfa58709b8a9d5c557f7b37f4a1.zip
Convert to USES=autoreconf and USES=python
-rw-r--r--devel/uatraits/Makefile31
1 files changed, 9 insertions, 22 deletions
diff --git a/devel/uatraits/Makefile b/devel/uatraits/Makefile
index c7d025a6201b..2c3e9b1dddcc 100644
--- a/devel/uatraits/Makefile
+++ b/devel/uatraits/Makefile
@@ -10,34 +10,21 @@ MASTER_SITES= http://people.freebsd.org/~demon/
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>