268a The FreeBSD Forums - View Single Post - new port request: despotify
View Single Post
  #6  
Old January 28th, 2012, 14:47
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default Basic build instructions

Hi,

I wanted to get the 'simple' despotify client running on my FreeBSD machine, especially for the ability to listen for remote commands.

Here is a basic guide to build, I haven't looked into gmake install as of yet. When I get time I will see if I can put a decent port together.

Install required libs (as superuser):
Code:
portmaster audio/libvorbis audio/mpg123
Checked out revision 517:
Code:
svn co https://despotify.svn.sourceforge.net/svnroot/despotify despotify
Create Makefile.local.mk from Makefile.local.mk.dist:
Code:
--- Makefile.local.mk.dist      2012-01-28 13:27:27.000000000 +0000
+++ Makefile.local.mk   2012-01-28 13:30:41.000000000 +0000
@@ -14,7 +14,7 @@
        # MAEMO4 = 1

        ## Install prefix
-       # INSTALL_PREFIX = /usr
+       # INSTALL_PREFIX = /usr/local

        ## Specify ncurses include path explicitly. (should contain curses.h)
        # NCURSES_INCLUDE = /usr/local/include/ncursesw
@@ -33,3 +33,8 @@
        ## via 'port install ..', try uncommenting these lines
        # CFLAGS += -I/opt/local/include
        # LDFLAGS += -L/opt/local/lib
+
+       ## FreeBSD
+       CFLAGS += -I/usr/local/include
+       LDFLAGS += -lpthread -L/usr/local/lib
+
and..
Code:
gmake
HTH some of you desperates! Sorry to necro-firstpost

Last edited by DutchDaemon; January 28th, 2012 at 18:35.
Reply With Quote
 
0