diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-01 04:19:02 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-01 04:19:02 +0800 |
commit | f98e990b5587deddc94d1ca850e01c4d5d7679c4 (patch) | |
tree | b5525ceb778ba30d986a95ae1d5205bf5ceb3fcb | |
parent | e6793a6fb930877b21fbb310a65c36f4ab5b16fd (diff) | |
download | marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar.gz marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar.bz2 marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar.lz marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar.xz marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.tar.zst marcuscom-ports-f98e990b5587deddc94d1ca850e01c4d5d7679c4.zip |
- What the hell was I thinking?!? Correct the path of include wv
${LOCALBASE}/wv -> ${LOCALBASE}/include/wv
This now allow hancom plugin builds. I never realized that I don't need the
libole2-devel, because it's already included in the wv.
- Enable WITH_HANCOM knob; it compiles and loads fine. But, I am not able to
test this plugin since I seem can't find Hancom file in google. I only can
find too many Hangul file, which they have the same file extension (.hwp). I
am not even sure if they are same, but I am not able to open Hangul files
thought.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2576 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | editors/abiword-plugins/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/editors/abiword-plugins/Makefile b/editors/abiword-plugins/Makefile index 325daebb8..8952f8987 100644 --- a/editors/abiword-plugins/Makefile +++ b/editors/abiword-plugins/Makefile @@ -7,7 +7,7 @@ PORTNAME= abiword PORTVERSION= 2.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/ @@ -144,15 +144,12 @@ PLIST_SUB+= GYPSYTHON:="" PLIST_SUB+= GYPSYTHON:="@comment " .endif -# libole2-devel is in my local, haven't commit it yet. -#.if defined(WITH_HANCOM) # Untest... -#LIB_DEPENDS+= gnomeole2.4:${PORTSDIR}/devel/libole2-devel -#CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libole2-2.0" -#CONFIGURE_ARGS+= --enable-hancom -#PLIST_SUB+= HANCOM:="" -#.else +.if defined(WITH_HANCOM) # Untest... +CONFIGURE_ARGS+= --enable-hancom +PLIST_SUB+= HANCOM:="" +.else PLIST_SUB+= HANCOM:="@comment " -#.endif +.endif .if defined(WITH_HRTEXT) || defined(PACKAGE_BUILDING) # Untest... CONFIGURE_ARGS+= --enable-hrtext @@ -351,9 +348,9 @@ pre-everything:: .if !defined(WITH_GYPSYTHON) @${ECHO_MSG} "WITH_GYPSYTHON=yes Python MailMerge." .endif -#.if !defined(WITH_HANCOM) -# @${ECHO_MSG} "WITH_HANCOM=yes Hancom Word Importer. Only does text." -#.endif +.if !defined(WITH_HANCOM) + @${ECHO_MSG} "WITH_HANCOM=yes Hancom Word Importer. Only does text." +.endif .if !defined(WITH_HRTEXT) @${ECHO_MSG} "WITH_HRTEXT=yes Export text with "newsgroup" markup." .endif @@ -410,7 +407,7 @@ pre-everything:: .endif post-patch: - @${REINPLACE_CMD} -e 's|[$$]abi_plugin_source/../wv|${LOCALBASE}/wv|g' \ + @${REINPLACE_CMD} -e 's|[$$]abi_plugin_source/../wv|${LOCALBASE}/include/wv|g' \ ${WRKSRC}/configure .include <bsd.port.post.mk> |