ajacoutot c5a198e230 Missing textproc/intltool MODULE.
Remove uneeded BUILD_DEPENDS.
2013-04-11 13:46:51 +00:00

50 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2013/04/11 13:46:51 ajacoutot Exp $
VMEM_WARNING = Yes
COMMENT = applied math library
CATEGORIES = math devel
DISTNAME = libqalculate-0.9.7
HOMEPAGE = http://qalculate.sourceforge.net/
SHARED_LIBS = qalculate 0.0 # 5.0
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c cln glib-2.0 gmp m ncurses pcre pthread readline
WANTLIB += stdc++ 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 = gnu autoconf automake
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
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
# Adapted from audio/xmms port
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>