1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/graphics/aeskulap/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

40 lines
935 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= aeskulap
PORTVERSION= 0.2.1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.bms-austria.com/%7Epipelka/${PORTNAME}/
MAINTAINER= gahr@FreeBSD.org
COMMENT= A medical image viewer
LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
glademm-2.4:${PORTSDIR}/devel/libglademm24 \
gconfmm-2.6:${PORTSDIR}/devel/gconfmm26
USES= gettext
USE_GNOME= gconf2
GCONF_SCHEMAS= aeskulap.schemas
USE_LDCONFIG= ${PREFIX}/lib/aeskulap
CXXFLAGS+= -fPIC \
-I${LOCALBASE}/include
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.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
.include <bsd.port.post.mk>