aboutsummaryrefslogtreecommitdiff
path: root/graphics/liblqr-1/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-11-05 22:48:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-11-05 22:48:44 +0000
commitc75e411497b78d1066bb1d7e8fd720f175eb27c5 (patch)
tree294da8fa53d6b83753093597fd3d19ef71ff7816 /graphics/liblqr-1/Makefile
parent858f4861287ccafb2b196b0f84aa65431aaa29fa (diff)
downloadports-c75e411497b78d1066bb1d7e8fd720f175eb27c5.tar.gz
ports-c75e411497b78d1066bb1d7e8fd720f175eb27c5.zip
Notes
Diffstat (limited to 'graphics/liblqr-1/Makefile')
-rw-r--r--graphics/liblqr-1/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/graphics/liblqr-1/Makefile b/graphics/liblqr-1/Makefile
index c780d2bf6c44..c871287bb940 100644
--- a/graphics/liblqr-1/Makefile
+++ b/graphics/liblqr-1/Makefile
@@ -6,16 +6,16 @@
#
PORTNAME= liblqr-1
-DISTVERSION= 0.1.0-1
-PORTREVISION= 1
+DISTVERSION= 0.2.1
CATEGORIES= graphics
-MASTER_SITES= http://liblqr.wikidot.com/local--files/en:download-page/ \
+MASTER_SITES= http://liblqr.wdfiles.com/local--files/en:download-page/ \
http://www.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= An easy to use C/C++ seam carving library
GNU_CONFIGURE= yes
+USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= glib20 pkgconfig
@@ -25,7 +25,8 @@ USE_LDCONFIG= yes
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
- ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl
+ ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ ${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml-450
PORTDOCS= *
.endif
@@ -38,15 +39,19 @@ PKGMESSAGE= ${WRKDIR}/pkg_message
.include <bsd.port.pre.mk>
post-patch:
+.if ${OSVERSION} < 700042
+ @${REINPLACE_CMD} -e 's|-fvisibility=hidden||' ${WRKSRC}/lqr/Makefile.in
+.endif
@${REINPLACE_CMD} -e '/^lqr_pkgconfigdir/ s|$$(libdir)|$${exec_prefix}/libdata|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr.*chunk\.xsl|${LOCALBASE}/share/xsl/docbook/html/chunk.xsl|' \
${WRKSRC}/docs/lqr_style.xsl
+ @${REINPLACE_CMD} -e 's|/usr.*docbookx.dtd|${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd|' \
+ ${WRKSRC}/docs/liblqr_manual.docbook
post-build:
.if !defined(NOPORTDOCS)
- ${RM} ${WRKSRC}/examples/*.orig
- cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} xml
+ cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} html
.endif
post-install: