mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
audio/lxmusic: minor fixes
- Add LICENSE (MIT GPLv2) - Use desktop-file-utils - Add NLS and DOCS options - Add Created by in Makefile header PR: ports/179775 Submitted by: nemysis <nemysis@gmx.ch> Approved by: maintainer
This commit is contained in:
parent
c47e01588d
commit
9807bf6b16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321425
@ -1,3 +1,4 @@
|
||||
# Created by: Eric Turgeon <ericturgeon.bsd at gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lxmusic
|
||||
@ -8,18 +9,46 @@ MASTER_SITES= SF/ghostbsdproject/package/LXMusic/
|
||||
MAINTAINER= ericturgeon@ghostbsd.org
|
||||
COMMENT= LXDE music player based on xmms2
|
||||
|
||||
LICENSE= MIT GPLv2
|
||||
LICENSE_COMB= dual
|
||||
|
||||
LIB_DEPENDS= xmmsclient:${PORTSDIR}/audio/xmms2 \
|
||||
notify:${PORTSDIR}/devel/libnotify
|
||||
|
||||
USES= desktop-file-utils
|
||||
USE_GNOME= gtk20
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gettext
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
PORTDOCS= AUTHORS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ! ${PORT_OPTIONS:MNLS}
|
||||
@${REINPLACE_CMD} -e 's|data po|data|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@-${LOCALBASE}/bin/update-desktop-database > /dev/null
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,64 +1,62 @@
|
||||
bin/lxmusic
|
||||
share/applications/lxmusic.desktop
|
||||
share/locale/af/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ar/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/bg/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/bn_IN/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ca/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/cs/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/da/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/de/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/el/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/es/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/es_VE/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/et/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/eu/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/fa/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/fi/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/fr/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/frp/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/gl/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/he/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/hr/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/hu/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/id/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/it/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ja/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ko/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/lt/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ml/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ms/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/nb/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/nl/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/nn/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/pl/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ps/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/pt/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ru/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/sk/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/sl/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/sr/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/sv/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/tr/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/uk/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ur/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/ur_PK/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/vi/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/lxmusic.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/lxmusic.mo
|
||||
share/lxmusic/lxmusic.ui.glade
|
||||
share/lxmusic/popup.ui.glade
|
||||
share/lxmusic/pref-dlg.ui.glade
|
||||
share/lxmusic/track-info.ui.glade
|
||||
%%NLS%%share/locale/af/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ar/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/bg/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/bn_IN/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/el/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/es_VE/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/et/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/eu/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fa/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/frp/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/he/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/hr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ko/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/lt/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ml/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ms/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nn/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ps/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pt/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ur/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ur_PK/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/vi/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/lxmusic.mo
|
||||
%%DATADIR%%/lxmusic.ui.glade
|
||||
%%DATADIR%%/popup.ui.glade
|
||||
%%DATADIR%%/pref-dlg.ui.glade
|
||||
%%DATADIR%%/track-info.ui.glade
|
||||
share/pixmaps/lxmusic.png
|
||||
@dirrm share/lxmusic
|
||||
@dirrmtry share/locale/ur_PK/LC_MESSAGES
|
||||
@dirrmtry share/locale/ur_PK
|
||||
@dirrmtry share/locale/frp/LC_MESSAGES
|
||||
@dirrmtry share/locale/frp
|
||||
@dirrmtry share/locale/es_VE/LC_MESSAGES
|
||||
@dirrmtry share/locale/es_VE
|
||||
@dirrm %%DATADIR%%
|
||||
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/ur_PK
|
||||
%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/frp
|
||||
%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/es_VE
|
||||
@dirrmtry share/applications
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
|
Loading…
Reference in New Issue
Block a user