PORTNAME= libmba
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/ \
${MASTER_SITE_LOCAL}
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}"
post-patch:
@${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \
-e '/^prefix/s/=/?=/' \
-e 's/prefix/PREFIX/' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \
${WRKSRC}/mktool.c
--- mktool.c~
+++ mktool.c
@@ -89,18 +89,18 @@ static const char *arg_array[32] = {
"lib%n.%1.%2.%3.dylib",
"lib%n.%1.%2.dylib",
"lib%n.dylib",
"darwin",
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
"gcc",
" -g",
" -Wall -W",
" -Wall -W -ansi -pedantic",
" -std=c99",
" -std=c89",
" -fpic",
" -fPIC",
- " -Wl,-soname,lib%n.so.%1.%2",
+ " -Wl,-soname,lib%n.so.%1",
"",
" -shared",
" -Wl,-rpath,%s",
"lib%n.so.%1",
PORTNAME= domc
PORTVERSION= 0.8.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
PORTNAME= rtfx
PORTVERSION= 1.1
MASTER_SITES= http://memberwebs.com/stef/software/rtfx/