aboutsummaryrefslogtreecommitdiff
path: root/audio/libworkman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libworkman/Makefile')
-rw-r--r--audio/libworkman/Makefile10
1 files changed, 6 insertions, 4 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>