1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/multimedia/quark/Makefile
Baptiste Daroussin 678a58519b Stagify,
add options for NLS and DOCS,
Remove one of the last WITHOUT_NLS usage
Use modern LIB_DEPENDS
2013-11-06 11:43:20 +00:00

42 lines
992 B
Makefile

# Created by: Juan Salaverria <rael@vectorstar.net>
# $FreeBSD$
PORTNAME= quark
PORTVERSION= 3.24
PORTREVISION= 4
CATEGORIES= multimedia gnome
MASTER_SITES= http://hsgg.github.com/quark/
MAINTAINER= ports@FreeBSD.org
COMMENT= Audio player, for geeks, by geeks
LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
LICENSE= GPLv2
USES= pathfix gettext gmake pkgconfig
USE_GNOME= gnomeprefix gnomevfs2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS NLS
PORTDOCS= AUTHORS COPYING INSTALL README
GCONF_SCHEMAS= quark.schemas strange-quark.schemas
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>