freebsd-ports/japanese/xdtp/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

53 lines
1 KiB
Makefile

# 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.2.0
PORTREVISION= 1
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
USE_LDCONFIG= yes
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>