mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# New ports collection makefile for: multimedia/quark
|
|
# Date created: 21 Jul 2003
|
|
# Whom: Juan Salaverria <rael@vectorstar.net>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= quark
|
|
PORTVERSION= 3.24
|
|
CATEGORIES= multimedia gnome
|
|
MASTER_SITES= http://hsgg.github.com/quark/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An audio player, for geeks, by geeks
|
|
|
|
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GNOME= gnomehack gnomeprefix gnomevfs2
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PORTDOCS= AUTHORS COPYING INSTALL README
|
|
GCONF_SCHEMAS= quark.schemas strange-quark.schemas
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|CFLAGS="-g |CFLAGS="$$CFLAGS |g' ${WRKSRC}/configure
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-D.*_DISABLE_DEPRECATED||g'
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|