Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 11:43:21 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332966 - head/multimedia/quark
Message-ID:  <201311061143.rA6BhLQV051146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Nov  6 11:43:20 2013
New Revision: 332966
URL: http://svnweb.freebsd.org/changeset/ports/332966

Log:
  Stagify,
  add options for NLS and DOCS,
  Remove one of the last WITHOUT_NLS usage
  Use modern LIB_DEPENDS

Modified:
  head/multimedia/quark/Makefile

Modified: head/multimedia/quark/Makefile
==============================================================================
--- head/multimedia/quark/Makefile	Wed Nov  6 11:42:15 2013	(r332965)
+++ head/multimedia/quark/Makefile	Wed Nov  6 11:43:20 2013	(r332966)
@@ -8,12 +8,11 @@ CATEGORIES=	multimedia gnome
 MASTER_SITES=	http://hsgg.github.com/quark/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An audio player, for geeks, by geeks
+COMMENT=	Audio player, for geeks, by geeks
 
-LIB_DEPENDS=	xine.2:${PORTSDIR}/multimedia/libxine
+LIB_DEPENDS=	libxine.so:${PORTSDIR}/multimedia/libxine
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		pathfix gettext gmake pkgconfig
 USE_GNOME=	gnomeprefix gnomevfs2
@@ -21,18 +20,14 @@ 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
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
-PLIST_SUB+=	NLS=""
-.endif
+OPTIONS_SUB=	yes
+NLS_CONFIGURE_ENABLE=	nls
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|CFLAGS="-g |CFLAGS="$$CFLAGS |g' ${WRKSRC}/configure
@@ -40,10 +35,7 @@ post-patch:
 		's|-D.*_DISABLE_DEPRECATED||g'
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311061143.rA6BhLQV051146>