Makefile (922B)
1 # Created by: Alexander Kojevnikov <alexander@kojevnikov.com> 2 # $FreeBSD$ 3 4 PORTNAME= spek 5 PORTVERSION= 0.8.2 6 PORTREVISION= 2 7 CATEGORIES= audio 8 MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} 9 10 MAINTAINER= alexander@kojevnikov.com 11 COMMENT= Acoustic spectrum analyser 12 13 LICENSE= GPLv3 14 15 LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg 16 17 MAN1= spek.1 18 19 USE_XZ= yes 20 NO_STAGE= yes 21 USE_GCC= 4.7+ 22 USES= gettext gmake pkgconfig 23 USE_GNOME= desktopfileutils intltool 24 USE_WX= 3.0 25 WX_UNICODE= yes 26 WX_CONF_ARGS= absolute 27 GNU_CONFIGURE= yes 28 INSTALLS_ICONS= yes 29 OPTIONS_DEFINE= NLS 30 31 post-install: 32 -@update-desktop-database 33 34 post-patch: 35 @${REINPLACE_CMD} -e "s,^itlocaledir =.*$$,itlocaledir = ${PREFIX}/share/locale,g" ${WRKSRC}/po/Makefile.in.in 36 37 .include <bsd.port.options.mk> 38 39 .if ${PORT_OPTIONS:MNLS} 40 USES+= gettext 41 PLIST_SUB+= NLS="" 42 .else 43 CONFIGURE_ARGS+=--disable-nls 44 PLIST_SUB+= NLS="@comment " 45 .endif 46 47 .include <bsd.port.mk>