1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/libgpod/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

74 lines
1.9 KiB
Makefile

# Created by: Devon Ryan <dpryan@dpryan.com>
# $FreeBSD$
PORTNAME= libgpod
PORTVERSION= 0.8.3
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
MAINTAINER?= ports@FreeBSD.org
COMMENT?= Library for direct access to iPod contents
LICENSE= LGPL20
LIB_DEPENDS= libplist.so:devel/libplist \
libtag.so:audio/taglib \
libsgutils2.so:sysutils/sg3_utils
USES= compiler:c++11-lang gettext gmake libtool localbase pathfix \
pkgconfig sqlite:3 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-udev --without-hal \
--with-html-dir="${DOCSDIR:H}"
USE_CSTD= gnu89
USE_GNOME= gdkpixbuf2 gtk20 intltool libxml2
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS IMOBILE PYTHON MONO
OPTIONS_DEFAULT=IMOBILE
OPTIONS_EXCLUDE?= MONO
OPTIONS_SUB= yes
IMOBILE_DESC= Apple iPhone/iPod Touch support
IMOBILE_LIB_DEPENDS= libimobiledevice.so:comms/libimobiledevice
IMOBILE_CONFIGURE_WITH= libimobiledevice
MONO_USE= GNOME=gtksharp20
MONO_CONFIGURE_WITH= mono
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 \
${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
PYTHON_USE= GNOME=pygobject
PYTHON_USES= python:2.7
PYTHON_CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
PYTHON_CONFIGURE_WITH= python
PORTDOCS= ChangeLog NEWS README*
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMOBILE}
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
.endif
post-patch-MONO-on:
${REINPLACE_CMD} 's/gmcs/mcs/g' ${WRKSRC}/configure ${WRKSRC}/m4/mono.m4
.if ${SLAVE_PORT} == no
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/ipod-time-sync \
${STAGEDIR}${PREFIX}/bin
.endif
post-install-MONO-off:
@${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc
post-install-DOCS-on:
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>