aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/colorer/Makefile9
-rw-r--r--devel/colorer/files/patch-build.xml14
2 files changed, 18 insertions, 5 deletions
diff --git a/devel/colorer/Makefile b/devel/colorer/Makefile
index 37d1d71d863f..73482fa06885 100644
--- a/devel/colorer/Makefile
+++ b/devel/colorer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= colorer
PORTVERSION= 0.b2
-CATEGORIES= devel
+CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Colorer-take5.beta2
@@ -22,8 +22,6 @@ BUILD_DEPENDS= fop:${PORTSDIR}/textproc/fop \
${LOCALBASE}/share/mathml-xsd/mathml2.xsd:${PORTSDIR}/textproc/mathml-xsd \
${LOCALBASE}/share/xhtml1-xsd/xhtml1-strict.xsd:${PORTSDIR}/textproc/xhtml1-xsd
-BROKEN= Does not build
-
USE_BZIP2= yes
USE_REINPLACE= yes
USE_JAVA= yes
@@ -31,20 +29,21 @@ JAVA_VERSION= 1.4+
USE_ANT= yes
ALL_TARGET?= library-linux
USE_GMAKE= yes
+INSTALLS_SHLIB= yes
PLIST_FILES= bin/colorer lib/libcolorer.so
post-build:
@(cd ${WRKSRC}/distr/Colorer-take5-linux.beta2 ; \
${REINPLACE_CMD} -e "s|make -C|${GMAKE} -C|" Makefile.in ; \
${REINPLACE_CMD} -e "s|-O3|${CFLAGS}|" src/shared/makefile.colorer.gcc ; \
- ${CHMOD} +x configure && ${SETENV} ${CONFIGURE_ENV} ./configure ; \
+ ${CHMOD} +x configure && ${SETENV} ${CONFIGURE_ENV} ./configure --prefix=${PREFIX} ; \
${GMAKE} ${PORTNAME} \
)
do-install:
@(cd ${WRKSRC}/distr/Colorer-take5-linux.beta2 ; \
${INSTALL_PROGRAM} src/colorer/colorer ${PREFIX}/bin ; \
- ${INSTALL_DATA} src/libcolorer/libcolorer.so ${PREFIX}/lib ; \
+ ${INSTALL_PROGRAM} src/libcolorer/libcolorer.so ${PREFIX}/lib ; \
${MKDIR} ${DATADIR}/bin ; \
${CP} -R hrc hrd ${DATADIR} ; \
${CP} -R bin/4ever2take5 bin/apache bin/doclinks bin/xsd2hrc \
diff --git a/devel/colorer/files/patch-build.xml b/devel/colorer/files/patch-build.xml
new file mode 100644
index 000000000000..07267a181b2c
--- /dev/null
+++ b/devel/colorer/files/patch-build.xml
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- build.xml.orig
++++ build.xml
+@@ -152,7 +152,7 @@
+ <ant dir='doc/hrc-ref' antfile='build.xml' target='all'/>
+ </target>
+
+- <target name="doc" depends='init, doc.javadoc, doc.doxygen, doc.hrc-ref' description='Builds all the documentation files'>
++ <target name="doc" depends='init, doc.javadoc, doc.doxygen' description='Builds all the documentation files'>
+ </target>
+
+ <target name="doc.javadoc" depends='init' description='Generates Java classes documentation' unless='doc.javadoc.required'>