summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/mowitz
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-01-08 14:03:54 +0000
committermi <mi@FreeBSD.org>2002-01-08 14:03:54 +0000
commitc5299364313a3b6156e82a796cdfb5f565db52de (patch)
tree64b9f85132f982570b4aa910a49fc21724119fac /x11-toolkits/mowitz
parentf39e899395845cd9c6b1f9a5d02018b8e7a686d7 (diff)
downloadFreeBSD-ports-c5299364313a3b6156e82a796cdfb5f565db52de.zip
FreeBSD-ports-c5299364313a3b6156e82a796cdfb5f565db52de.tar.gz
Upgrade to 0.1.1 -- the author fixed the bugs addressed in patch-aa.
Also, move from USE_XLIB to USE_X_PREFIX and add a comment inviting a better solution than the post-install removal of libMowitz.la...
Diffstat (limited to 'x11-toolkits/mowitz')
-rw-r--r--x11-toolkits/mowitz/Makefile13
-rw-r--r--x11-toolkits/mowitz/distinfo2
-rw-r--r--x11-toolkits/mowitz/files/patch-aa10
3 files changed, 11 insertions, 14 deletions
diff --git a/x11-toolkits/mowitz/Makefile b/x11-toolkits/mowitz/Makefile
index ebbe69c..b111b8a 100644
--- a/x11-toolkits/mowitz/Makefile
+++ b/x11-toolkits/mowitz/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= Mowitz
-PORTVERSION= 0.1.0
+PORTVERSION= 0.1.1
CATEGORIES= x11-toolkits
MASTER_SITES= http://siag.nu/pub/mowitz/
@@ -13,12 +13,19 @@ MAINTAINER= mi@aldan.algebra.com
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
-USE_XLIB= yes
+USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= CPPFLAGS="-Dcfree=free"
+CONFIGURE_ARGS= --with-xawm=Xaw3d
+
+.if defined(X11BASE) && ${X11BASE} != /usr/X11R6
+post-patch:
+ ${PERL} -pi -e 's,/usr/X11R6,${X11BASE},g' \
+ `find ${WRKSRC} | xargs fgrep -l --mmap /usr/X11R6`
+.endif
post-install:
${RM} ${PREFIX}/lib/libMowitz.la
+# Anyone knows a better way?
.include <bsd.port.mk>
diff --git a/x11-toolkits/mowitz/distinfo b/x11-toolkits/mowitz/distinfo
index 3cfff29..71f95e7 100644
--- a/x11-toolkits/mowitz/distinfo
+++ b/x11-toolkits/mowitz/distinfo
@@ -1 +1 @@
-MD5 (Mowitz-0.1.0.tar.gz) = e74d86bfacbc95ea8ef9a8635a6438d7
+MD5 (Mowitz-0.1.1.tar.gz) = 680106c783162e60f03d944cfe4933ee
diff --git a/x11-toolkits/mowitz/files/patch-aa b/x11-toolkits/mowitz/files/patch-aa
deleted file mode 100644
index ee86a4f..0000000
--- a/x11-toolkits/mowitz/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- examples/Makefile.in Mon Jan 7 10:43:48 2002
-+++ examples/Makefile.in Mon Jan 7 17:21:53 2002
-@@ -84,5 +84,5 @@
-
--INCLUDES = -I.. -DNARROWPROTO -DNeedFunctionPrototypes -DUSE_XPM
-+INCLUDES = -I.. -DNARROWPROTO -DNeedFunctionPrototypes -DUSE_XPM @X_CFLAGS@
-
--LDADD = ../Mowitz/.libs/libMowitz.a -L/usr/X11R6/lib -lXawM -lXpm -lXmu -lXext -lXt -lX11
-+LDADD = ../Mowitz/.libs/libMowitz.a -L/usr/X11R6/lib -lXaw3d -lXpm -lXmu -lXext -lXt -lX11
-
OpenPOWER on IntegriCloud