aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xdtp
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-26 08:33:54 +0800
committerjgh <jgh@FreeBSD.org>2013-05-26 08:33:54 +0800
commitfcb5ff048f70ea102fd14739e7dd9415619cebaa (patch)
tree8e9ec7d8d59a4cf16133c2b4620f0454a709c459 /japanese/xdtp
parent4251ddb17fff5064650e0e159dd592f22fbe284e (diff)
downloadfreebsd-ports-gnome-fcb5ff048f70ea102fd14739e7dd9415619cebaa.tar.gz
freebsd-ports-gnome-fcb5ff048f70ea102fd14739e7dd9415619cebaa.tar.zst
freebsd-ports-gnome-fcb5ff048f70ea102fd14739e7dd9415619cebaa.zip
- adoption of optionsNG framework
- trim COMMENTS and historical headers Approved by: portmgr (bapt)
Diffstat (limited to 'japanese/xdtp')
-rw-r--r--japanese/xdtp/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/japanese/xdtp/Makefile b/japanese/xdtp/Makefile
index dfa6b888b465..067090d3a4df 100644
--- a/japanese/xdtp/Makefile
+++ b/japanese/xdtp/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: XDTP (XML Document Transfer Program)
-# Date created: 11 October 2005
-# Whom: Masanori OZAWA (ozawa@ongs.co.jp)
-#
+# Created by: Masanori OZAWA (ozawa@ongs.co.jp)
# $FreeBSD$
-#
PORTNAME= xdtp
PORTVERSION= 1.3.1
@@ -19,35 +15,38 @@ COMMENT= XDTP (XML Document Transfer Program)
LIB_DEPENDS= glibmm-2.4:${PORTSDIR}/devel/glibmm
USE_LDCONFIG= yes
-USE_GNOME= libxml2 libxslt pkgconfig
+USE_GNOME= libxml2 libxslt
+USES= pkgconfig
GNU_CONFIGURE= yes
-OPTIONS= GDK "Build with Gdk-Pixbuf" on \
- DEBUG "Build with debug option" off \
- INCLUDE "Install with XDTP include files" on
+OPTIONS_DEFINE= GDK DEBUG INCLUDE
+GDK_DESC= Build with Gdk-Pixbuf
+INCLUDE_DESC= Install with XDTP include files
-.include <bsd.port.pre.mk>
+OPTIONS_DEFAULT= GDK INCLUDE
+
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
-.if defined(WITH_GDK)
+.if ${PORT_OPTIONS:MGDK}
USE_GNOME+= gtk20
.else
CONFIGURE_ENV+= WITHOUT_GDK="yes"
MAKE_ARGS+= -DWITHOUT_GDK
.endif
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
MAKE_ARGS+= -DDEBUG
.endif
-.if defined(WITH_INCLUDE)
+.if ${PORT_OPTIONS:MINCLUDE}
PLIST_SUB+= XDTP_INC=""
.else
MAKE_ARGS+= -DWITHOUT_INCLUDE
PLIST_SUB+= XDTP_INC="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>