accessible, but the distfiles are still available at an archive URL. Introduce MASTER_SITE_GOOGLECODE and use it for all affected ports. ok czarkoff@ danj@ sthen@
34 lines
754 B
Makefile
34 lines
754 B
Makefile
# $OpenBSD: Makefile,v 1.12 2016/10/01 11:54:14 naddy Exp $
|
|
|
|
COMMENT = Open Fingerprint Architecture library
|
|
|
|
DISTNAME = libofa-0.9.3
|
|
REVISION = 5
|
|
CATEGORIES = audio devel
|
|
HOMEPAGE = https://code.google.com/p/musicip-libofa/
|
|
SHARED_LIBS += ofa 0.0
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=musicip-libofa/}
|
|
|
|
WANTLIB += m pthread stdc++ fftw3
|
|
|
|
# needed to build the examples
|
|
BUILD_DEPENDS = net/curl \
|
|
devel/gettext
|
|
|
|
LIB_DEPENDS = math/fftw3
|
|
|
|
SEPARATE_BUILD = Yes
|
|
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>
|