mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# New ports collection makefile for: soundtracker
|
|
# Date created: 28 November 1999
|
|
# Whom: kzentner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= soundtracker
|
|
PORTVERSION= 0.6.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio gnome
|
|
MASTER_SITES= http://www.soundtracker.org/dl/%SUBDIR%/
|
|
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
|
|
|
|
USE_X_PREFIX= yes
|
|
WANT_GNOME= yes
|
|
USE_GNOME= esound gdkpixbuf gnomehack gnometarget
|
|
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 ${HAVE_GNOME:Mgnomelibs}!=""
|
|
PKGNAMESUFFIX= -gnome
|
|
USE_GNOME+= gnomelibs gnomeprefix
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
DATADIR= ${PREFIX}/share/gnome/${PORTNAME}
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gnome
|
|
.endif
|
|
|
|
.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM)
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's| install-exec-local||g'
|
|
${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|