2022-04-23 23:18:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2022/04/23 21:18:09 tnn Exp $
|
2005-01-12 14:57:49 +01:00
|
|
|
|
2021-11-01 21:30:27 +01:00
|
|
|
DISTNAME= ladspa_sdk_1.17
|
2005-01-12 14:57:49 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/_sdk_/-/}
|
2022-04-23 23:18:09 +02:00
|
|
|
DIST_SUBDIR= ${DISTNAME} # remove on next update
|
2022-03-28 12:43:29 +02:00
|
|
|
PKGREVISION= 1
|
2005-01-12 14:57:49 +01:00
|
|
|
CATEGORIES= audio
|
2019-10-05 19:39:38 +02:00
|
|
|
MASTER_SITES= https://www.ladspa.org/download/
|
2005-01-12 14:57:49 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-10-05 19:39:38 +02:00
|
|
|
HOMEPAGE= https://www.ladspa.org/
|
2005-01-12 14:57:49 +01:00
|
|
|
COMMENT= Linux Audio Developers Simple Plugin API
|
2009-08-16 16:17:44 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2005-01-12 14:57:49 +01:00
|
|
|
|
2019-10-05 19:39:38 +02:00
|
|
|
WRKSRC= ${WRKDIR}/ladspa_sdk_${PKGVERSION_NOREV}
|
2019-07-16 00:58:50 +02:00
|
|
|
|
2019-10-05 19:39:38 +02:00
|
|
|
BUILD_DIRS= src
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2019-10-05 19:39:38 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-05-09 18:46:07 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-01-12 14:57:49 +01:00
|
|
|
|
2019-10-05 19:39:38 +02:00
|
|
|
MAKE_FILE= Makefile
|
|
|
|
BUILD_TARGET= targets
|
|
|
|
TEST_TARGET= test
|
2017-11-16 16:05:31 +01:00
|
|
|
|
2019-10-05 19:39:38 +02:00
|
|
|
INSTALLATION_DIRS+= bin include
|
|
|
|
INSTALLATION_DIRS+= lib/ladspa
|
|
|
|
INSTALLATION_DIRS+= share/doc/ladspa
|
2017-11-16 16:05:31 +01:00
|
|
|
|
2019-10-05 19:39:38 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/ladspa
|
|
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/*.la ${DESTDIR}${PREFIX}/lib/ladspa
|
|
|
|
${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${DESTDIR}${PREFIX}/include
|
|
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
|
2006-05-13 00:43:46 +02:00
|
|
|
|
2021-11-01 21:30:27 +01:00
|
|
|
.include "../../audio/libsndfile/buildlink3.mk"
|
2005-03-31 19:17:06 +02:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2019-10-05 19:39:38 +02:00
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.dl}
|
2005-01-12 14:57:49 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|