diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-06 19:43:20 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-06 19:43:20 +0800 |
commit | b769bd36021e9c4efe4117450c1d27406ec04955 (patch) | |
tree | 330a5ba8b5ae5ccec51a12132a8b507a23bcdbd6 /multimedia | |
parent | 438fd94cda9b2f9ac58f78be607e5859489396e8 (diff) | |
download | freebsd-ports-gnome-b769bd36021e9c4efe4117450c1d27406ec04955.tar.gz freebsd-ports-gnome-b769bd36021e9c4efe4117450c1d27406ec04955.tar.zst freebsd-ports-gnome-b769bd36021e9c4efe4117450c1d27406ec04955.zip |
Stagify,
add options for NLS and DOCS,
Remove one of the last WITHOUT_NLS usage
Use modern LIB_DEPENDS
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/quark/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/multimedia/quark/Makefile b/multimedia/quark/Makefile index 73101802e667..e5eb78bc0555 100644 --- a/multimedia/quark/Makefile +++ b/multimedia/quark/Makefile @@ -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> |