35 lines
736 B
Makefile
Raw Normal View History

2018-11-18 17:06:52 +00:00
# $OpenBSD: Makefile,v 1.20 2018/11/18 17:06:52 naddy Exp $
2010-11-19 17:12:15 +00:00
COMMENT = Open Fingerprint Architecture library
2010-11-19 17:12:15 +00:00
DISTNAME = libofa-0.9.3
2018-11-18 17:06:52 +00:00
REVISION = 11
2010-11-19 17:12:15 +00:00
CATEGORIES = audio devel
SHARED_LIBS += ofa 0.0
# GPL
PERMIT_PACKAGE_CDROM = Yes
2017-08-21 18:34:04 +00:00
MASTER_SITES = https://distfiles.nl/
2010-11-19 17:12:15 +00:00
2017-07-16 19:18:47 +00:00
WANTLIB += m pthread ${COMPILER_LIBCXX} fftw3
2010-11-19 17:12:15 +00:00
COMPILER = base-clang ports-gcc base-gcc
# needed to build the examples
BUILD_DEPENDS = net/curl \
devel/gettext
LIB_DEPENDS = math/fftw3
2010-11-19 17:12:15 +00:00
SEPARATE_BUILD = Yes
2010-11-19 17:12:15 +00:00
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKBUILD}/libofa.pc ${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>