aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/massxpert/Makefile4
-rw-r--r--science/massxpert/files/patch-CMakeLists.txt29
-rw-r--r--science/massxpert/pkg-plist5
3 files changed, 32 insertions, 6 deletions
diff --git a/science/massxpert/Makefile b/science/massxpert/Makefile
index 869fa6cb7c50..ac0333c7839c 100644
--- a/science/massxpert/Makefile
+++ b/science/massxpert/Makefile
@@ -7,6 +7,7 @@
PORTNAME= massxpert
PORTVERSION= 2.3.6
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= http://download.tuxfamily.org/massxpert/source/
@@ -15,9 +16,10 @@ COMMENT= The massXpert software for (bio)chemists
USE_QT_VER= 4
USE_CMAKE= yes
-USE_LDCONFIG= yes
QT_COMPONENTS= gui xml rcc_build qmake_build uic_build moc_build \
svg
+MAN7= massxpert-data.7
+MAN1= massxpert.1
.include <bsd.port.pre.mk>
diff --git a/science/massxpert/files/patch-CMakeLists.txt b/science/massxpert/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..e1b2d600d479
--- /dev/null
+++ b/science/massxpert/files/patch-CMakeLists.txt
@@ -0,0 +1,29 @@
+--- CMakeLists.txt.orig 2010-05-11 01:23:01.000000000 +0800
++++ CMakeLists.txt 2010-05-21 20:17:36.000000000 +0800
+@@ -153,7 +153,7 @@
+ # The manual page
+ IF (UNIX AND NOT APPLE)
+ INSTALL (FILES massxpert.1
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
++ DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
+ ENDIF (UNIX AND NOT APPLE)
+
+ ###############
+@@ -188,7 +188,7 @@
+ # The manual pages (data)
+ IF (UNIX AND NOT APPLE)
+ INSTALL (FILES massxpert-data.7
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man7)
++ DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man7)
+ ENDIF (UNIX AND NOT APPLE)
+
+ #################
+@@ -222,7 +222,7 @@
+ # The manual pages (user manual)
+ IF (UNIX AND NOT APPLE)
+ INSTALL (FILES massxpert-doc.7
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man7)
++ DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man7)
+ ENDIF (UNIX AND NOT APPLE)
+
+
diff --git a/science/massxpert/pkg-plist b/science/massxpert/pkg-plist
index 63d560a0f924..cb142790a026 100644
--- a/science/massxpert/pkg-plist
+++ b/science/massxpert/pkg-plist
@@ -4,8 +4,6 @@ lib/massxpert/plugins/libseqToolsPlugin.so
lib/massxpert/plugins/libnumeralsLocaleConverterPlugin.so
%%DOCSDIR%%/COPYING
share/applications/massxpert.desktop
-share/man/man1/massxpert.1
-share/man/man7/massxpert-data.7
%%DATADIR%%/locales/massxpert_fr.qm
%%DATADIR%%/pol-chem-defs/dna/adenine.svg
%%DATADIR%%/pol-chem-defs/dna/biotlink.svg
@@ -217,9 +215,6 @@ share/man/man7/massxpert-data.7
@dirrmtry %%DATADIR%%/dictionaries
@dirrmtry share/applications
@dirrmtry %%DATADIR%%
-@dirrmtry share/man/man7
-@dirrmtry share/man/man1
-@dirrmtry share/man
@dirrm %%DOCSDIR%%
@dirrm lib/massxpert/plugins
@dirrm lib/massxpert