1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= libqalculate |
4 |
PORTVERSION= 0.9.7 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= math |
7 |
MASTER_SITES= SF/qalculate/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Multi-purpose desktop calculator (backend library) |
11 |
|
12 |
LICENSE= gpl2 |
13 |
|
14 |
LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln |
15 |
|
16 |
USES= pkgconfig pathfix gmake libtool gettext-tools |
17 |
USE_GNOME= glib20 intltool libxml2 |
18 |
USE_LDCONFIG= yes |
19 |
GNU_CONFIGURE= yes |
20 |
CPPFLAGS+= -I${LOCALBASE}/include |
21 |
LIBS+= -L${LOCALBASE}/lib |
22 |
INSTALL_TARGET= install-strip |
23 |
|
24 |
OPTIONS_DEFINE= NLS |
25 |
OPTIONS_SUB= yes |
26 |
|
27 |
NLS_USES= gettext-runtime |
28 |
|
29 |
.include <bsd.mport.options.mk> |
30 |
|
31 |
post-patch: |
32 |
.if !${PORT_OPTIONS:MNLS} |
33 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in |
34 |
.endif |
35 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in |
36 |
|
37 |
.include <bsd.port.mk> |