aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-08-26 03:36:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-08-26 03:36:13 +0000
commitad19220c0e0e6199832d3871671833a953da2d59 (patch)
treeebd00f9d2a229d33da417c1404c8a85985e81cd3 /audio
parent31be4402ffcb0d67b775ea1a146081995b5e78e6 (diff)
downloadports-ad19220c0e0e6199832d3871671833a953da2d59.tar.gz
ports-ad19220c0e0e6199832d3871671833a953da2d59.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/libworkman/Makefile10
-rw-r--r--audio/libworkman/files/patch-ab13
2 files changed, 17 insertions, 6 deletions
diff --git a/audio/libworkman/Makefile b/audio/libworkman/Makefile
index 63d9416ad070..76d86a33a819 100644
--- a/audio/libworkman/Makefile
+++ b/audio/libworkman/Makefile
@@ -16,7 +16,8 @@ DISTNAME= ${PORTNAME}-1999-06-20
MAINTAINER= ports@FreeBSD.org
COMMENT= Workman library required by some audio apps
-BROKEN= does not build
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
WRKSRC= ${WRKDIR}/libworkman
USE_IMAKE= yes
@@ -24,8 +25,9 @@ USE_LDCONFIG= yes
CFLAGS+= -fPIC
post-patch:
- @${CP} ${WRKSRC}/Config ${WRKSRC}/Config.orig;
- @${SED} -e 's^/usr/local/^${PREFIX}/^g' \
- ${WRKSRC}/Config.orig > ${WRKSRC}/Config
+ @${REINPLACE_CMD} -e \
+ 's|^DESTDIR|XCOMM DESTDIR| ; \
+ s|=include/workman|=$$(INCROOT)/workman| ; \
+ s|^LIBDIR|XCOMM LIBDIR|' ${WRKSRC}/Config
.include <bsd.port.mk>
diff --git a/audio/libworkman/files/patch-ab b/audio/libworkman/files/patch-ab
index 299f9f5b44c0..3d97d1abe26c 100644
--- a/audio/libworkman/files/patch-ab
+++ b/audio/libworkman/files/patch-ab
@@ -1,5 +1,5 @@
---- Imakefile.orig Sun May 30 01:48:17 1999
-+++ Imakefile Sun Aug 8 21:09:06 1999
+--- Imakefile.orig 1999-05-30 00:48:17.000000000 +0900
++++ Imakefile 2011-08-23 13:40:41.000000000 +0900
@@ -31,7 +31,7 @@
#include "include/wm_version.h"
@@ -17,3 +17,12 @@
include/wm_cdinfo.h \
include/wm_cdrom.h \
include/wm_config.h \
+@@ -65,7 +66,7 @@
+
+ #ifdef SHARED_LIBWORKMAN
+ SharedLibraryTarget(workman,$(WM_LIBVER),$(OBJS),.,.)
+-InstallSharedLibrary(workman,$(WM_LIBVER),$(LIBDIR))
++InstallSharedLibrary(workman,$(WM_LIBVER),$(USRLIBDIR))
+ #else
+ NormalLibraryTarget(workman, $(OBJS))
+ #endif