mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
6527ef2070
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
47 lines
1.2 KiB
Makefile
47 lines
1.2 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.6.0
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
pre-patch: .SILENT
|
|
# Adjust pkgconfigdir to the FreeBSD world
|
|
${REINPLACE_CMD} -e \
|
|
's,libdir)/pkgconfig,prefix)/libdata/pkgconfig,' \
|
|
${WRKSRC}/Makefile.in
|
|
# Stop configure script want Perl and XML::Parser (delete 22 lines)
|
|
${REINPLACE_CMD} '19785,19807d' ${WRKSRC}/configure
|
|
# Fix bogus test(1) syntax to get rid of annoying warnings
|
|
${REINPLACE_CMD} -E 's,(if test [[:graph:]]+ )==,\1=,' \
|
|
${WRKSRC}/configure
|
|
.if defined(NOPORTDOCS)
|
|
${REINPLACE_CMD} -e 's, docs,,' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|