summaryrefslogtreecommitdiff
path: root/audio/autozen/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-13 21:18:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-13 21:18:09 +0000
commitc642f24a58b626e6b42d24951e42dba012fe87a8 (patch)
treef4cba533d6eefd5d99e63f93c03685d4df1d2b24 /audio/autozen/Makefile
parentFix negative shift with IFAST FDCT and qual=100 (diff)
Switch to GTK2 by default and remove option to switch back to gtk 1.2
Notes
Notes: svn path=/head/; revision=396860
Diffstat (limited to 'audio/autozen/Makefile')
-rw-r--r--audio/autozen/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile
index 707bfe00c76f..79d6dbed4791 100644
--- a/audio/autozen/Makefile
+++ b/audio/autozen/Makefile
@@ -3,7 +3,7 @@
PORTNAME= autozen
PORTVERSION= 2.1
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://www.sourcefiles.org/Miscellaneous/
@@ -12,9 +12,9 @@ COMMENT= Adjust brain waves with sound
LICENSE= GPLv2
-OPTIONS_DEFINE= GTK2 DOCS
+OPTIONS_DEFINE= DOCS
-USES= shebangfix perl5
+USES= shebangfix perl5 pkgconfig
SHEBANG_FILES= zentime
USE_PERL5= run
@@ -27,10 +27,9 @@ DESKTOP_ENTRIES="AutoZen" \
PORTDOCS= *
-GTK2_USES= pkgconfig
-GTK2_USE= GNOME=gtk20
-GTK2_MAKE_ENV= GTK_CONFIG="pkg-config gtk+-2.0"
-GTK2_USE_OFF= GNOME=gtk12
+USE_GNOME= gtk20
+MAKE_ENV= GTK_CONFIG="pkg-config gtk+-2.0"
+LDFLAGS+= -lm
post-extract:
@cd ${WRKSRC} && ${RM} -f autozen seq2wav
@@ -42,7 +41,8 @@ post-patch:
/^PREFIX/s| =| ?=| ; \
s|share/AutoZen|${DATADIR_REL}| ; \
s|gtk-config|$${GTK_CONFIG}|g ; \
- s|$$(CC) seq2wav|$$(CC) $$(CFLAGS) seq2wav|' \
+ s|$$(CC) seq2wav|$$(CC) $$(CFLAGS) seq2wav| ; \
+ s|-pthread|-lm -pthread|g' \
${WRKSRC}/Makefile
do-install: