# Created by: Joe Marcus Clarke # $FreeBSD: head/audio/libcanberra-gtk3/Makefile 548219 2020-09-10 18:55:41Z tcberner $ # $MCom: ports/trunk/audio/libcanberra-gtk3/Makefile 19814 2014-08-15 20:17:00Z gusi $ CATEGORIES= audio devel PKGNAMESUFFIX= -gtk3 MAINTAINER= desktop@FreeBSD.org COMMENT= Implementation of the Freedesktop sound theme spec MASTERDIR= ${.CURDIR}/../../audio/libcanberra SLAVEPORT= gtk3 PLIST= ${.CURDIR}/pkg-plist do-build: cd ${WRKSRC} && ${GMAKE} libcanberra-gtk3.pc cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3.la cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3-module.la do-install: ${INSTALL_DATA} ${WRKSRC}/libcanberra-gtk3.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .for i in .so .so.0 .so.0.1.9 ${INSTALL_LIB} ${WRKSRC}/src/.libs/libcanberra-gtk3${i} \ ${STAGEDIR}${PREFIX}/lib/ .endfor cd ${WRKSRC}/src && env DESTDIR=${STAGEDIR} ${GMAKE} install-gtk3moduleLTLIBRARIES ${LN} -sf libcanberra-gtk3-module.so \ ${STAGEDIR}${PREFIX}/lib/gtk-3.0/modules/libcanberra-gtk-module.so .include "${MASTERDIR}/Makefile"