openbsd-ports/audio/libofa/Makefile

36 lines
827 B
Makefile
Raw Normal View History

2011-09-16 04:26:09 -04:00
# $OpenBSD: Makefile,v 1.3 2011/09/16 08:26:10 espie Exp $
2010-11-19 12:12:15 -05:00
COMMENT = Open Fingerprint Architecture library
2010-11-19 12:12:15 -05:00
DISTNAME = libofa-0.9.3
2011-09-16 04:26:09 -04:00
REVISION = 1
2010-11-19 12:12:15 -05:00
CATEGORIES = audio devel
HOMEPAGE = http://code.google.com/p/musicip-libofa/
SHARED_LIBS += ofa 0.0
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://musicip-libofa.googlecode.com/files/
WANTLIB += m stdc++ fftw3
LIB_DEPENDS = net/curl \
math/fftw3 \
USE_LIBTOOL = Yes
SEPARATE_BUILD = simple
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
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>