aboutsummaryrefslogtreecommitdiff
path: root/graphics/liblqr-1
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
parent858f4861287ccafb2b196b0f84aa65431aaa29fa (diff)
downloadports-c75e411497b78d1066bb1d7e8fd720f175eb27c5.tar.gz
ports-c75e411497b78d1066bb1d7e8fd720f175eb27c5.zip
Notes
Diffstat (limited to 'graphics/liblqr-1')
-rw-r--r--graphics/liblqr-1/Makefile17
-rw-r--r--graphics/liblqr-1/distinfo6
-rw-r--r--graphics/liblqr-1/pkg-plist3
3 files changed, 16 insertions, 10 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:
diff --git a/graphics/liblqr-1/distinfo b/graphics/liblqr-1/distinfo
index df6c2b3acf9b..f8d172d0eab3 100644
--- a/graphics/liblqr-1/distinfo
+++ b/graphics/liblqr-1/distinfo
@@ -1,3 +1,3 @@
-MD5 (liblqr-1-0.1.0-1.tar.gz) = 6c8be281b11b9782e45fa7f401e05087
-SHA256 (liblqr-1-0.1.0-1.tar.gz) = 55338d7dd7e50eec634535635e53c08151827074d99170eb3beda6ec15dec5e4
-SIZE (liblqr-1-0.1.0-1.tar.gz) = 367185
+MD5 (liblqr-1-0.2.1.tar.bz2) = c2569ef21c2f37759d05e171d54efecc
+SHA256 (liblqr-1-0.2.1.tar.bz2) = da741081a8fb4b2609f2e586f7ebc29d1dbc27d6e7c1eae21a78152460b6ad57
+SIZE (liblqr-1-0.2.1.tar.bz2) = 302417
diff --git a/graphics/liblqr-1/pkg-plist b/graphics/liblqr-1/pkg-plist
index 240fd21f3176..c4ce2ec0a0bb 100644
--- a/graphics/liblqr-1/pkg-plist
+++ b/graphics/liblqr-1/pkg-plist
@@ -2,6 +2,7 @@ include/lqr-1/lqr.h
include/lqr-1/lqr/lqr_base.h
include/lqr-1/lqr/lqr_carver_bias_pub.h
include/lqr-1/lqr/lqr_carver_list_pub.h
+include/lqr-1/lqr/lqr_carver_rigmask_pub.h
include/lqr-1/lqr/lqr_carver_pub.h
include/lqr-1/lqr/lqr_cursor_pub.h
include/lqr-1/lqr/lqr_gradient_pub.h
@@ -10,7 +11,7 @@ include/lqr-1/lqr/lqr_vmap_list_pub.h
include/lqr-1/lqr/lqr_vmap_pub.h
lib/liblqr-1.la
lib/liblqr-1.so
-lib/liblqr-1.so.0
+lib/liblqr-1.so.1
libdata/pkgconfig/lqr-1.pc
@dirrm include/lqr-1/lqr
@dirrm include/lqr-1