blob: a2d6a1508d6225c28d64472b7cc5f884c5aa825f (
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
54
55
56
|
# 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.13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.xcdroast.org/download/
MASTER_SITE_SUBDIR= xcdroast
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a./alpha/}
MAINTAINER= lehmann@ans-netz.de
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::
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " WITH_NONROOT=yes"
@${ECHO} " Use xcdroast w/o being root."
@${ECHO} " Actually, that breaks all interactions with cdda2wav"
@${ECHO} " (For example, you are not able to grab tracks, neither"
@${ECHO} " as root, nor as a normal user). Think about WITH_NONROOT"
@${ECHO} " - if you are really in need of it (with the attendant"
@${ECHO} " circumstanceces noticed above) or not."
@${ECHO} ""
post-install:
.if defined(WITH_NONROOT)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|