blob: 980f8fa6d440cd5022f46ab9c634e4e22f02e66d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: libgpod
# Date created: Wed Jan 1 00:48:58 EST 2006
# Whom: Devon Ryan <dpryan@dpryan.com>
#
# $FreeBSD$
#
PORTNAME= libgpod
PORTVERSION= 0.4.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkpod
MAINTAINER= danfe@FreeBSD.org
COMMENT= A library for direct access of iPod's contents
USE_GNOME= gtk20
USE_GETTEXT= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# Disable python bindings for now, something does not work there
CONFIGURE_ARGS= --without-python
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --with-html-dir="${TARGETDIR}/share/doc"
.endif
post-extract: .SILENT
${REINPLACE_CMD} -e \
's,libdir)/pkgconfig,prefix)/libdata/pkgconfig,' \
${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's, docs$$,,' ${WRKSRC}/Makefile.in
.endif
${REINPLACE_CMD} '19491,19513d' ${WRKSRC}/configure
.if defined(GCCVERSION)
. if ${GCCVERSION} < 030000
${REINPLACE_CMD} -e 's,\[\],[0],' ${WRKSRC}/src/db-itunes-parser.h
. endif
.else
.endif
.include <bsd.port.mk>
|