--- Portfile	2009-07-01 14:49:54.000000000 -0400
+++ ../ports/devel/pthsem/Portfile	2009-07-06 09:18:36.000000000 -0400
@@ -12,11 +12,12 @@
 
 description         pthsem is an extend version of GNU pth, with support for semaphores
 long_description    GNU pth is a user mode multi threading library. \
-                    pthsem is an extend version, with support for semaphores added. \
-                    It can be installed parallel to a normal pth. The header file is \
-                    called pthsem.h, the configuration programm pthsem-config and the \
-                    autoconf macro AC_CHECK_PTHSEM. If references to one of these \
-                    names are changed, pthsem can be used as an replacement of GNU pth. 
+                    pthsem is an extend version, with support for semaphores \
+                    added. It can be installed parallel to a normal pth. The \
+                    header file is called pthsem.h, the configuration program \
+                    pthsem-config and the autoconf macro AC_CHECK_PTHSEM. If \
+                    references to one of these names are changed, pthsem can \
+                    be used as an replacement of GNU pth.
 
 homepage            https://www.auto.tuwien.ac.at/~mkoegler/index.php/pth
 
@@ -25,5 +26,10 @@
 
 depends_build       port:pkgconfig \
                     port:libtool \
-                    port:git-core 
+                    port:git-core
+
+configure.args      --enable-optimize --enable-pthreads --mandir=${prefix}/share/man
+
+test.run            yes
+
 

