freebsd-ports/audio/libgpod/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

41 lines
1 KiB
Makefile

# 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.5.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="${PREFIX}/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
# Stop configure script want Perl and XML::Parser
${REINPLACE_CMD} '19568,19590d' ${WRKSRC}/configure
.include <bsd.port.mk>