freebsd-ports/sysutils/xcdroast/Makefile
Oliver Lehmann 2eba856944 update xcdroast to .alpha14
Approved by:	alex (mentor)
2003-06-04 14:56:12 +00:00

59 lines
1.4 KiB
Makefile

# New ports collection makefile for: xcdroast
# Date Created: 28 Sep 2000
# Whom: Oliver Lehmann <Kai_Allard_Liao@gmx.de>
#
# $FreeBSD$
#
PORTNAME= xcdroast
PORTVERSION= 0.98.a.14
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.xcdroast.org/download/
MASTER_SITE_SUBDIR= xcdroast
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a./alpha/}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Another X11 frontend to mkisofs/cdrecord
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mkisofs:${PORTSDIR}/sysutils/mkisofs
USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
CONFIGURE_ARGS= --with-cdrtools-prefix=${LOCALBASE}
MAN1= xcdroast.1
.if defined(WITH_NONROOT)
CONFIGURE_ARGS+=--enable-nonrootmode
.else
CONFIGURE_ARGS+=--disable-nonrootmode
.endif
pre-everything::
.if defined(WITH_NONROOT)
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
@${ECHO_MSG} "Are you sure you want this? If not, hit Ctrl+C right now "
@${ECHO_MSG}
sleep 5
.else
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " WITH_NONROOT=yes"
@${ECHO} " Use xcdroast w/o being root."
@${ECHO} " But beware! This is a security risk! XCDRost will use an"
@${ECHO} " own wrapping utility which gets a SUID Bit after enabling"
@${ECHO} " the non-root mode inside the application!"
@${ECHO} ""
.endif
.include <bsd.port.mk>