Lines 6-17
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xcdroast |
8 |
PORTNAME= xcdroast |
9 |
PORTVERSION= 0.98.a.8 |
9 |
PORTVERSION= 0.98.a.9 |
10 |
CATEGORIES= sysutils |
10 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= http://www.xcdroast.org/download/ |
11 |
MASTER_SITES= http://www.xcdroast.org/download/ |
12 |
DISTNAME= xcdroast-0.98alpha8 |
12 |
DISTNAME= ${PORTNAME}-0.98alpha9 |
13 |
|
13 |
|
14 |
MAINTAINER= Kai_Allard_Liao@gmx.de |
14 |
MAINTAINER= lehmann@ans-netz.de |
15 |
|
15 |
|
16 |
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \ |
16 |
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \ |
17 |
mkisofs:${PORTSDIR}/sysutils/mkisofs |
17 |
mkisofs:${PORTSDIR}/sysutils/mkisofs |
Lines 21-30
Link Here
|
21 |
USE_GTK= yes |
21 |
USE_GTK= yes |
22 |
USE_IMLIB= yes |
22 |
USE_IMLIB= yes |
23 |
|
23 |
|
|
|
24 |
post-patch: |
25 |
for i in xcdroast.h Makefile ; do \ |
26 |
${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$$i ; \ |
27 |
done |
28 |
|
24 |
post-install: |
29 |
post-install: |
25 |
${LN} -sf ${PREFIX}/bin/cdrecord ${X11BASE}/lib/xcdroast-0.98/bin/cdrecord |
|
|
26 |
${LN} -sf ${PREFIX}/bin/mkisofs ${X11BASE}/lib/xcdroast-0.98/bin/mkisofs |
27 |
${LN} -sf ${PREFIX}/bin/cdda2wav ${X11BASE}/lib/xcdroast-0.98/bin/cdda2wav |
28 |
${LN} -sf ${PREFIX}/bin/readcd ${X11BASE}/lib/xcdroast-0.98/bin/readcd |
29 |
|
30 |
|
|
|
31 |
${LN} -sf ${LOCALBASE}/bin/cdrecord ${PREFIX}/lib/xcdroast-0.98/bin/cdrecord |
32 |
${LN} -sf ${LOCALBASE}/bin/mkisofs ${PREFIX}/lib/xcdroast-0.98/bin/mkisofs |
33 |
${LN} -sf ${LOCALBASE}/bin/cdda2wav ${PREFIX}/lib/xcdroast-0.98/bin/cdda2wav |
34 |
${LN} -sf ${LOCALBASE}/bin/readcd ${PREFIX}/lib/xcdroast-0.98/bin/readcd |
35 |
|
36 |
pw groupadd -n cdwrite |
37 |
|
38 |
for i in cdrecord cdda2wav mkisofs readcd ; do \ |
39 |
chown root:cdwrite ${PREFIX}/bin/$i && \ |
40 |
chmod 4710 ${PREFIX}/bin/$i ; \ |
41 |
done |
42 |
|
43 |
chown root:cdwrite ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap |
44 |
chmod 2755 ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap |
45 |
|
46 |
@${ECHO} "" |
47 |
@${ECHO} "***************************************************************" |
48 |
@${ECHO} " The first time root have to start xcdroast, to create the" |
49 |
@${ECHO} " root-configuration-file ${PREFIX}/etc/xcdroast.conf. Without" |
50 |
@${ECHO} " this file, a normal user will get an error message." |
51 |
@${ECHO} "***************************************************************" |
52 |
@${ECHO} "" |
30 |
.include <bsd.port.mk> |
53 |
.include <bsd.port.mk> |