aboutsummaryrefslogtreecommitdiff
path: root/japanese/xdtp/Makefile
blob: 9ca2d2ffd052891991f0e864f4c886d609a68aeb (plain) (blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	XDTP (XML Document Transfer Program)
# Date created:				11 October 2005
# Whom:					Masanori OZAWA (ozawa@ongs.co.jp)
#
# $FreeBSD$
#

PORTNAME=	xdtp
PORTVERSION=	1.1.3
CATEGORIES=	japanese
MASTER_SITES+=	http://www.ongs.co.jp/projects/xdtp/
DISTNAME=	xdtp-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ozawa@ongs.co.jp
COMMENT=	XDTP (XML Document Transfer Program)

LIB_DEPENDS=	glibmm-2.4:${PORTSDIR}/devel/glibmm

INSTALLS_SHLIB=	yes
USE_GCC=	3.4
USE_GNOME=	libxml2 libxslt pkgconfig
GNU_CONFIGURE=	yes

OPTIONS=	GDK	"Build with Gdk-Pixbuf" on \
		DEBUG	"Build with debug option" off \
		INCLUDE	"Install with XDTP include files" on

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CFLAGS+=	-fPIC
.endif

.if defined(WITH_GDK)
USE_GNOME+=	gtk20
.else
CONFIGURE_ENV+=	WITHOUT_GDK="yes"
MAKE_ARGS+=	-DWITHOUT_GDK
.endif

.if defined(WITH_DEBUG)
MAKE_ARGS+=	-DDEBUG
.endif

.if defined(WITH_INCLUDE)
PLIST_SUB+=	XDTP_INC=""
.else
MAKE_ARGS+=	-DWITHOUT_INCLUDE
PLIST_SUB+=	XDTP_INC="@comment "
.endif

.include <bsd.port.post.mk>