mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
31 lines
993 B
Makefile
31 lines
993 B
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $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"
|