|
Lines 1-26
Link Here
|
| 1 |
# New ports collection makefile for: hexter |
1 |
# Created by: trasz <trasz@pin.if.uz.zgora.pl> |
| 2 |
# Date created: 2007-01-20 |
|
|
| 3 |
# Whom: trasz <trasz@pin.if.uz.zgora.pl> |
| 4 |
# |
| 5 |
# $FreeBSD: head/audio/hexter/Makefile 300895 2012-07-14 12:56:14Z beat $ |
2 |
# $FreeBSD: head/audio/hexter/Makefile 300895 2012-07-14 12:56:14Z beat $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= hexter |
4 |
PORTNAME= hexter |
| 9 |
PORTVERSION= 0.6.2 |
5 |
PORTVERSION= 1.0.2 |
| 10 |
PORTREVISION= 5 |
|
|
| 11 |
CATEGORIES= audio |
6 |
CATEGORIES= audio |
| 12 |
MASTER_SITES= SF/dssi/${PORTNAME}/${PORTVERSION} |
7 |
MASTER_SITES= SF/dssi/${PORTNAME}/${PORTVERSION} |
| 13 |
|
8 |
|
| 14 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
| 15 |
COMMENT= DSSI softsynth that models the sound generation of a Yamaha DX7 |
10 |
COMMENT= DSSI softsynth that models the sound generation of a Yamaha DX7 |
| 16 |
|
11 |
|
| 17 |
LIB_DEPENDS= dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \ |
12 |
LICENSE= GPLv2 # (or later) |
| 18 |
lo.7:${PORTSDIR}/audio/liblo \ |
13 |
|
| 19 |
jack.0:${PORTSDIR}/audio/jack |
14 |
BUILD_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi \ |
| 20 |
BUILD_DEPENDS= ${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi |
15 |
ladspa>0:${PORTSDIR}/audio/ladspa |
|
|
16 |
LIB_DEPENDS= dssialsacompat:${PORTSDIR}/audio/libdssialsacompat \ |
| 17 |
lo:${PORTSDIR}/audio/liblo |
| 18 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
| 19 |
|
| 20 |
OPTIONS_DEFINE= FLOAT GTK2 READLINE |
| 21 |
OPTIONS_DEFAULT=GTK2 READLINE |
| 22 |
FLOAT_DESC= Enable floating point rendering |
| 23 |
READLINE_DESC= Readline support |
| 21 |
|
24 |
|
| 22 |
GNU_CONFIGURE= yes |
|
|
| 23 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
|
|
26 |
GNU_CONFIGURE= yes |
| 27 |
MAKE_JOBS_SAFE= yes |
| 28 |
|
| 29 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 30 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 31 |
|
| 32 |
.include <bsd.port.options.mk> |
| 33 |
|
| 34 |
.if ${PORT_OPTIONS:MFLOAT} |
| 35 |
CONFIGURE_ARGS+=--enable-floating-point |
| 36 |
.endif |
| 37 |
|
| 38 |
.if ${PORT_OPTIONS:MGTK2} |
| 24 |
USE_GNOME= gtk20 |
39 |
USE_GNOME= gtk20 |
|
|
40 |
CONFIGURE_ARGS+=--with-gtk2 |
| 41 |
PLIST_SUB+= GTK2="" |
| 42 |
.else |
| 43 |
CONFIGURE_ARGS+=--without-gtk2 |
| 44 |
PLIST_SUB+= GTK2="@comment " |
| 45 |
.endif |
| 46 |
|
| 47 |
.if ${PORT_OPTIONS:MREADLINE} |
| 48 |
USE_READLINE= yes |
| 49 |
CONFIGURE_ARGS+=--with-textui |
| 50 |
PLIST_SUB+= READLINE="" |
| 51 |
.else |
| 52 |
CONFIGURE_ARGS+=--without-textui |
| 53 |
PLIST_SUB+= READLINE="@comment " |
| 54 |
.endif |
| 55 |
|
| 56 |
post-install: |
| 57 |
@${MKDIR} ${PREFIX}/lib/dssi/hexter |
| 58 |
@${ECHO_CMD} -n > ${PREFIX}/lib/dssi/hexter/.keep_me |
| 25 |
|
59 |
|
| 26 |
.include <bsd.port.mk> |
60 |
.include <bsd.port.mk> |