blob: a349db49c072408ba0f43805a85725d8ee0cccf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
PORTNAME= pxlib
PORTVERSION= 0.6.5
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= SF
MAINTAINER= bofh@FreeBSD.org
COMMENT= C library to read various Paradox files
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
USES= gmake iconv libtool pathfix perl5
USE_GNOME= intltool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
OPTIONS_DEFINE= MANPAGES NLS
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \
docbook2man:textproc/docbook-utils
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
.include <bsd.port.options.mk>
pre-build:
.if !${PORT_OPTIONS:MMANPAGES}
${REINPLACE_CMD} -e 's/^DOCDIR =.*/DOCDIR =/' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>
|