From 4e4950346aed40852ce9d3c772cd26ca8269c8ee Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Wed, 5 Feb 2014 10:19:02 +0000 Subject: [PATCH] - STAGE-clean - Convert to new LIB_DEPENDS format - Add LICENSE - Remove article from COMMENT line --- graphics/aeskulap/Makefile | 26 +++++++++----------------- graphics/aeskulap/pkg-plist | 4 ++-- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/graphics/aeskulap/Makefile b/graphics/aeskulap/Makefile index f7a79aaabd28..1dffe7cb8645 100644 --- a/graphics/aeskulap/Makefile +++ b/graphics/aeskulap/Makefile @@ -8,11 +8,13 @@ CATEGORIES= graphics MASTER_SITES= http://www.bms-austria.com/%7Epipelka/${PORTNAME}/ MAINTAINER= gahr@FreeBSD.org -COMMENT= A medical image viewer +COMMENT= Medical image viewer -LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ - glademm-2.4:${PORTSDIR}/devel/libglademm24 \ - gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 +LICENSE= GPLv2 + +LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ + libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \ + libgconfmm-2.6.so:${PORTSDIR}/devel/gconfmm26 USES= gettext pkgconfig USE_GNOME= gconf2 @@ -23,18 +25,8 @@ CXXFLAGS+= -fPIC \ -I${LOCALBASE}/include GNU_CONFIGURE= yes -NO_STAGE= yes -.include - -.if ${OSVERSION} >= 701000 -PLIST_SUB= SHVER="" post-install: - ${LN} -s libimagepool.so.0.0 ${PREFIX}/lib/aeskulap/libimagepool.so - ${LN} -s libconfiguration.so.0.0 ${PREFIX}/lib/aeskulap/libconfiguration.so -.else -PLIST_SUB= SHVER="@comment " -post-patch: - ${REINPLACE_CMD} -e 's|-lrt||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.endif + ${LN} -s libimagepool.so.0.0 ${STAGEDIR}${PREFIX}/lib/aeskulap/libimagepool.so + ${LN} -s libconfiguration.so.0.0 ${STAGEDIR}${PREFIX}/lib/aeskulap/libconfiguration.so -.include +.include diff --git a/graphics/aeskulap/pkg-plist b/graphics/aeskulap/pkg-plist index c8c402a4ef56..dccc0ca487f8 100644 --- a/graphics/aeskulap/pkg-plist +++ b/graphics/aeskulap/pkg-plist @@ -1,11 +1,11 @@ bin/aeskulap lib/aeskulap/libconfiguration.a lib/aeskulap/libconfiguration.la -%%SHVER%%lib/aeskulap/libconfiguration.so.0.0 +lib/aeskulap/libconfiguration.so.0.0 lib/aeskulap/libconfiguration.so lib/aeskulap/libimagepool.a lib/aeskulap/libimagepool.la -%%SHVER%%lib/aeskulap/libimagepool.so.0.0 +lib/aeskulap/libimagepool.so.0.0 lib/aeskulap/libimagepool.so lib/aeskulap/libofstd.so lib/aeskulap/libdcmdata.so