ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/math/libqalculate/Makefile
Revision: 18416
Committed: Sat Mar 28 20:45:21 2015 UTC (9 years ago) by laffer1
File size: 833 byte(s)
Log Message:
fix build

File Contents

# Content
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>

Properties

Name Value
svn:keywords MidnightBSD=%H