diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-05-19 06:23:17 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-05-19 06:23:17 +0000 |
commit | 1887dbec7f5a87a71988de76d115cbec75118421 (patch) | |
tree | c6a688517697904e34b663a545d4e05061ebb2cc /chinese | |
parent | abce81d0294982f387e95a5da14fc7b1772b86d0 (diff) | |
download | ports-1887dbec7f5a87a71988de76d115cbec75118421.tar.gz ports-1887dbec7f5a87a71988de76d115cbec75118421.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/stardict2/Makefile | 16 | ||||
-rw-r--r-- | chinese/stardict2/files/patch-src::distance.cpp | 11 | ||||
-rw-r--r-- | chinese/stardict2/pkg-plist | 4 |
3 files changed, 19 insertions, 12 deletions
diff --git a/chinese/stardict2/Makefile b/chinese/stardict2/Makefile index bb4fff982de2..efcf58f6c885 100644 --- a/chinese/stardict2/Makefile +++ b/chinese/stardict2/Makefile @@ -19,21 +19,13 @@ DISTFILES= stardict-${PORTVERSION}.tar.gz \ MAINTAINER= statue@freebsd.sinica.edu.tw COMMENT= English-Chinese dictionary -LIB_DEPENDS= gnome-2.200:${PORTSDIR}/x11/libgnome \ - gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \ - bonobo-2.0:${PORTSDIR}/devel/libbonobo \ - bonobo-activation.4:${PORTSDIR}/devel/bonobo-activation - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Configure fails" -.endif - GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" USE_GMAKE= yes USE_X_PREFIX= yes USE_BZIP2= yes +USE_GNOME= libgnome libgnomeui libbonobo bonoboactivation gconf2 WRKSRC= ${WRKDIR}/stardict-${PORTVERSION} MAN1= stardict.1 @@ -53,4 +45,4 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-big5-2.0.0/* ${PREFIX}/share/stardict/dic/ ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-big5-2.0.0/* ${PREFIX}/share/stardict/dic/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/chinese/stardict2/files/patch-src::distance.cpp b/chinese/stardict2/files/patch-src::distance.cpp new file mode 100644 index 000000000000..93345df6279c --- /dev/null +++ b/chinese/stardict2/files/patch-src::distance.cpp @@ -0,0 +1,11 @@ +--- src/distance.cpp.orig Wed May 14 01:25:59 2003 ++++ src/distance.cpp Wed May 14 01:26:12 2003 +@@ -35,7 +35,7 @@ + #include "distance.h" + + #include <stdlib.h> +-#include <malloc.h> ++//#include <malloc.h> + #include <string.h> + //#include <stdio.h> + diff --git a/chinese/stardict2/pkg-plist b/chinese/stardict2/pkg-plist index cc8d0f6bff43..e0b561d06f81 100644 --- a/chinese/stardict2/pkg-plist +++ b/chinese/stardict2/pkg-plist @@ -25,7 +25,11 @@ share/gnome/help/stardict/zh_CN/figures/stardict_float_window.png share/gnome/help/stardict/zh_CN/figures/stardict_main_window.png share/gnome/help/stardict/zh_CN/figures/stardict_notification_area.png share/omf/stardict/stardict-C.omf +@exec scrollkeeper-install -q %D/share/omf/stardict/stardict-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/omf/stardict/stardict-C.omf 2>/dev/null || /usr/bin/true share/omf/stardict/stardict-zh_CN.omf +@exec scrollkeeper-install -q %D/share/omf/stardict/stardict-zh_CN.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/omf/stardict/stardict-zh_CN.omf 2>/dev/null || /usr/bin/true share/applications/stardict.desktop etc/gconf/schemas/stardict.schemas lib/bonobo/servers/GNOME_Stardict.server |