aboutsummaryrefslogtreecommitdiff
path: root/textproc/libexttextcat
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-11-07 07:47:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-11-07 07:47:56 +0000
commit87496730b5ab55adc0905ad2922ac55de05bc1e3 (patch)
treecd56ee39ddf27fe68159e6875b04e9e70b9350bd /textproc/libexttextcat
parent7b914b4667b857f92b8f865ea4a37ce040254520 (diff)
downloadports-87496730b5ab55adc0905ad2922ac55de05bc1e3.tar.gz
ports-87496730b5ab55adc0905ad2922ac55de05bc1e3.zip
Notes
Diffstat (limited to 'textproc/libexttextcat')
-rw-r--r--textproc/libexttextcat/Makefile19
-rw-r--r--textproc/libexttextcat/pkg-plist8
2 files changed, 2 insertions, 25 deletions
diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile
index 76e49734386d..52b7108abb42 100644
--- a/textproc/libexttextcat/Makefile
+++ b/textproc/libexttextcat/Makefile
@@ -19,32 +19,15 @@ USE_LDCONFIG= yes
PORTDOCS= README README.libtextcat TODO
-OPTIONS_DEFINE= COMPAT_TEXTCAT DOCS
+OPTIONS_DEFINE= DOCS
COMPAT_TEXTCAT_DESC= Install libtextcat compatible files
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MCOMPAT_TEXTCAT}
-.if exists(${PREFIX}/lib/libtextcat.a)
-CONFLICTS_INSTALL= libtextcat*
-.endif
-PLIST_SUB+= TEXTCAT=''
-PLIST_SUB+= EXEEXT=''
-.else
-PLIST_SUB+= TEXTCAT='@comment '
PLIST_SUB+= EXEEXT='x'
MAKE_ARGS= EXEEXT=x
-.endif
post-install:
-.if ${PORT_OPTIONS:MCOMPAT_TEXTCAT}
- ${LN} -sf libexttextcat/textcat.h ${PREFIX}/include/
- ${LN} -sf libexttextcat ${PREFIX}/include/libtextcat
- ${LN} -sf libexttextcat-1.0.a ${PREFIX}/lib/libtextcat.a
- ${LN} -sf libexttextcat-1.0.la ${PREFIX}/lib/libtextcat.la
- ${LN} -sf libexttextcat-1.0.so.0 ${PREFIX}/lib/libtextcat.so
- ${LN} -sf libexttextcat-1.0.so.0 ${PREFIX}/lib/libtextcat.so.0
-.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff --git a/textproc/libexttextcat/pkg-plist b/textproc/libexttextcat/pkg-plist
index 085445465df7..447c73910a20 100644
--- a/textproc/libexttextcat/pkg-plist
+++ b/textproc/libexttextcat/pkg-plist
@@ -1,4 +1,4 @@
-bin/createfp%%EXEEXT%%
+bin/createfpx
include/libexttextcat/common.h
include/libexttextcat/constants.h
include/libexttextcat/exttextcat-version.h
@@ -6,16 +6,10 @@ include/libexttextcat/fingerprint.h
include/libexttextcat/textcat.h
include/libexttextcat/textcat_properties.h
include/libexttextcat/utf8misc.h
-%%TEXTCAT%%include/textcat.h
-%%TEXTCAT%%include/libtextcat
lib/libexttextcat-1.0.a
lib/libexttextcat-1.0.la
lib/libexttextcat-1.0.so
lib/libexttextcat-1.0.so.0
-%%TEXTCAT%%lib/libtextcat.a
-%%TEXTCAT%%lib/libtextcat.la
-%%TEXTCAT%%lib/libtextcat.so
-%%TEXTCAT%%lib/libtextcat.so.0
libdata/pkgconfig/libexttextcat.pc
share/vala/vapi/libexttextcat.vapi
%%DATADIR%%/ab.lm