openbsd-ports/audio/soundtracker/Makefile
espie 2d6f9f9727 soundtracker, from maintainer.
A music editing program, in the grand tradition of amiga tracker programs.
2002-02-05 18:04:10 +00:00

71 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/02/05 18:04:10 espie Exp $
# Uses pthreads
COMMENT= "Music tracking tool for X11"
VERSION= 0.6.4
DISTNAME= soundtracker-${VERSION}
CATEGORIES= audio
NEED_VERSION= 1.504
HOMEPAGE= http://www.soundtracker.org/
MAINTAINER= Wilbern Cobb <vedge@csoft.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITE_SUBDIR= v0.6
MASTER_SITES= http://www.soundtracker.org/dl/%SUBDIR%/ \
ftp://vedge.com.ar/pub/mirror/soundtracker/%SUBDIR%/
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
intl.1::devel/gettext \
iconv.2::converters/libiconv \
audiofile::devel/libaudiofile
FLAVORS= gnome sun esd
FLAVOR?= sun
USE_GMAKE= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu autoconf
CONFIGURE_ARGS+= --with-audiofile-prefix=${LOCALBASE} \
--disable-alsa \
--disable-sgi \
--disable-oss
.if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= gnome.36,gnomesupport.0,gnomeui.46,art_lgpl.4::x11/gnome/libs
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
.if empty(FLAVOR:L:Msun)
CONFIGURE_ARGS+= --disable-sun
.endif
.if empty(FLAVOR:L:Mesd)
CONFIGURE_ARGS+= --disable-esd
.endif
.if ${MACHINE_ARCH} != "i386"
CONFIGURE_ARGS+= --disable-assembler
.endif
DOCS= FAQ NEWS README TODO \
doc/hacking.txt doc/xi.txt doc/xm.txt
post-extract:
@ln -s ${FILESDIR}/sun-input.c ${WRKSRC}/app/drivers
@ln -s ${FILESDIR}/sun-output.c ${WRKSRC}/app/drivers
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/soundtracker
cd ${WRKSRC} && \
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/soundtracker
.include <bsd.port.mk>