summaryrefslogtreecommitdiffstats
path: root/audio/mp3gain/files/Makefile.main
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3gain/files/Makefile.main')
-rw-r--r--audio/mp3gain/files/Makefile.main18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/mp3gain/files/Makefile.main b/audio/mp3gain/files/Makefile.main
new file mode 100644
index 0000000..1d57587
--- /dev/null
+++ b/audio/mp3gain/files/Makefile.main
@@ -0,0 +1,18 @@
+SRCS= gain_analysis.c mp3gain.c rg_error.c
+PROG= mp3gain
+
+LDADD= -LmpglibDBL -lm -lmpglibDBL
+DPADD= mpglibDBL/libmpglibDBL.a
+OBJS= libmpglibDBL.a
+
+PREFIX?= /usr/local
+DESTDIR?= ${PREFIX}
+BINDIR= /bin
+
+NOMAN= yes
+
+libmpglibDBL.a:
+ cd mpglibDBL && ${MAKE} ${.TARGET}
+ ln -s mpglibDBL/${.TARGET} ${.TARGET}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud