freebsd-ports/sysutils/xfburn/Makefile
Baptiste Daroussin dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00

62 lines
1.3 KiB
Makefile

# Created by: J.R. Oldroyd <fbsd@opal.com>
# $FreeBSD$
PORTNAME= xfburn
PORTVERSION= 0.4.3
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= ports@FreeBSD.org
COMMENT= CD/DVD burning tool for Xfce
LIB_DEPENDS= burn:${PORTSDIR}/devel/libburn \
isofs:${PORTSDIR}/devel/libisofs
RUN_DEPENDS= cdrdao:${PORTSDIR}/sysutils/cdrdao \
cdrecord:${PORTSDIR}/sysutils/cdrtools
GNU_CONFIGURE= yes
CONFIGURE_ENV= GMSGFMT=${PREFIX}/bin/msgfmt DATADIRNAME=share
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= intltool
USE_XFCE= configenv libexo libgui
USES= pkgconfig
INSTALLS_ICONS= yes
MAN1= xfburn.1
OPTIONS_DEFINE= DBUS HAL GSTREAMER NLS
OPTIONS_DEFAULT= DBUS HAL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
.else
CONFIGURE_ARGS+= --disable-nls
.endif
.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
.if ${PORT_OPTIONS:MHAL}
LIB_DEPENDS+= hal:${PORTSDIR}/sysutils/hal
.else
CONFIGURE_ARGS+= --disable-hal
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
USE_GSTREAMER= core
CONFIGURE_ARGS+= "LDFLAGS=-lgstpbutils-0.10"
.else
CONFIGURE_ARGS+= --disable-gstreamer
.endif
.include <bsd.port.mk>