aboutsummaryrefslogtreecommitdiff
path: root/graphics/aeskulap
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-08-23 07:06:14 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-08-23 07:06:14 +0000
commit9ac0c554a2cb6ca542b5cd597e169b65b70f42b4 (patch)
tree663961557544b2d14f2d2e53e4748a9105d29b09 /graphics/aeskulap
parent2175b59c7e85115204b1e27e720693b549b2f82d (diff)
downloadports-9ac0c554a2cb6ca542b5cd597e169b65b70f42b4.tar.gz
ports-9ac0c554a2cb6ca542b5cd597e169b65b70f42b4.zip
Notes
Diffstat (limited to 'graphics/aeskulap')
-rw-r--r--graphics/aeskulap/Makefile15
-rw-r--r--graphics/aeskulap/pkg-plist2
2 files changed, 15 insertions, 2 deletions
diff --git a/graphics/aeskulap/Makefile b/graphics/aeskulap/Makefile
index 0d92d2c1849c..73c39bd0bed3 100644
--- a/graphics/aeskulap/Makefile
+++ b/graphics/aeskulap/Makefile
@@ -37,8 +37,19 @@ GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-BROKEN= does not link on 6.X
+.if ${OSVERSION} < 701000
+post-patch:
+ ${REINPLACE_CMD} -e 's|-lrt||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
+post-install:
+.if exists(${PREFIX}/lib/aeskulap/libconfiguration.so)
+ ${RM} ${PREFIX}/lib/aeskulap/libconfiguration.so
+.endif
+.if exists(${PREFIX}/lib/aeskulap/libimagepool.so)
+ ${RM} ${PREFIX}/lib/aeskulap/libimagepool.so
+.endif
+ ${LN} -sf libconfiguration.so.0.0 ${PREFIX}/lib/aeskulap/libconfiguration.so
+ ${LN} -sf libimagepool.so.0.0 ${PREFIX}/lib/aeskulap/libimagepool.so
+
.include <bsd.port.post.mk>
diff --git a/graphics/aeskulap/pkg-plist b/graphics/aeskulap/pkg-plist
index ba54d40df5b2..7d15d4d37a87 100644
--- a/graphics/aeskulap/pkg-plist
+++ b/graphics/aeskulap/pkg-plist
@@ -2,9 +2,11 @@ bin/aeskulap
lib/aeskulap/libconfiguration.a
lib/aeskulap/libconfiguration.la
lib/aeskulap/libconfiguration.so.0.0
+lib/aeskulap/libconfiguration.so
lib/aeskulap/libimagepool.a
lib/aeskulap/libimagepool.la
lib/aeskulap/libimagepool.so.0.0
+lib/aeskulap/libimagepool.so
share/applications/aeskulap.desktop
%%DATADIR%%/glade/aeskulap.glade
%%DATADIR%%/images/aeskulap.png