12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # $OpenBSD: Makefile,v 1.10 2017/04/10 11:46:22 sthen Exp $
- BROKEN-macppc = libqalculate/Calculator.cc:7030: internal compiler error
- COMMENT = applied math library
- CATEGORIES = math devel
- DISTNAME = libqalculate-0.9.7
- REVISION = 1
- HOMEPAGE = http://qalculate.sourceforge.net/
- SHARED_LIBS = qalculate 0.0 # 5.0
- # GPLv2+
- PERMIT_PACKAGE_CDROM = Yes
- WANTLIB += c cln glib-2.0 gmp lzma m ncurses pcre pthread readline
- WANTLIB += ${LIBCXX} xml2 z
- MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qalculate/}
- MODULES = devel/gettext \
- textproc/intltool
- LIB_DEPENDS = devel/cln \
- devel/glib2 \
- textproc/libxml
- # Without recreating Makefile, shell globs in docs/reference/Makefile are
- # not expanded, and "fake" and "test" stages fail.
- # And just running "good" autoconf is not enough, it whines.
- # So we have to re-run automake, too.
- USE_LIBTOOL = gnu
- SEPARATE_BUILD = Yes
- CONFIGURE_STYLE = autoconf automake
- CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS} -I${WRKSRC} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
- AUTOCONF_VERSION = 2.67
- AUTOMAKE_VERSION = 1.11
- SUBST_VARS += DISTNAME
- post-patch:
- cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} aclocal
- cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake
- .include <bsd.port.mk>
|