diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-05-03 06:44:48 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-05-03 06:44:48 +0000 |
commit | 9a3ab27e4f019f9bf2333c96ae1f1efbcbaf66ad (patch) | |
tree | eec8ec643ef0c44671f926f25a1d92e72f6f1376 /audio/soundtracker/Makefile | |
parent | 26c821e6e39533dede6152af2881bce7a7b01fef (diff) | |
download | ports-9a3ab27e4f019f9bf2333c96ae1f1efbcbaf66ad.tar.gz ports-9a3ab27e4f019f9bf2333c96ae1f1efbcbaf66ad.zip |
Notes
Diffstat (limited to 'audio/soundtracker/Makefile')
-rw-r--r-- | audio/soundtracker/Makefile | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile index 8060c123d2e6..aaba3e0dcf08 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -6,8 +6,7 @@ # PORTNAME= soundtracker -PORTVERSION= 0.6.7 -PORTREVISION= 3 +PORTVERSION= 0.6.8 CATEGORIES= audio gnome MASTER_SITES= http://www.soundtracker.org/dl/%SUBDIR%/ MASTER_SITE_SUBDIR= v${PORTVERSION:R} @@ -15,8 +14,7 @@ MASTER_SITE_SUBDIR= v${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Mod player/tracking tool which supports XM and MOD formats -LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \ - jack.0:${PORTSDIR}/audio/jack +LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile USE_X_PREFIX= yes WANT_GNOME= yes @@ -25,16 +23,12 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - .include <bsd.port.pre.mk> +.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM) +CONFIGURE_ARGS+= --disable-asm +.endif + .if ${HAVE_GNOME:Mgnomelibs}!="" PKGNAMESUFFIX= -gnome USE_GNOME+= gnomelibs gnomeprefix @@ -44,13 +38,34 @@ DATADIR= ${PREFIX}/share/gnome/${PORTNAME} CONFIGURE_ARGS+= --disable-gnome .endif -.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM) -CONFIGURE_ARGS+= --disable-asm +.if defined(WITH_JACK) +LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +.else +CONFIGURE_ARGS+= --disable-jack +.endif + +.if defined(WITH_SDL) +USE_SDL= sdl +.else +CONFIGURE_ARGS+= --disable-sdl +.endif + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's| install-exec-local||g' - ${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-pthread -ldl||g' ${WRKSRC}/configure + +pre-build: +.if !defined(WITHOUT_NLS) + cd ${WRKSRC}/po && ${LOCALBASE}/bin/msgfmt -c -o ja.gmo ja.po +.endif .include <bsd.port.post.mk> |