1999-04-21 15:51:11 +02:00
|
|
|
# New ports collection makefile for: cdrdao
|
|
|
|
# Date created: 7 April 1999
|
|
|
|
# Whom: futatuki
|
|
|
|
#
|
1999-08-25 06:36:31 +02:00
|
|
|
# $FreeBSD$
|
1999-04-21 15:51:11 +02:00
|
|
|
#
|
|
|
|
|
2004-02-18 15:56:10 +01:00
|
|
|
PORTNAME?= cdrdao
|
2007-09-15 13:58:51 +02:00
|
|
|
PORTVERSION= 1.2.2
|
|
|
|
PORTREVISION?= 0
|
2002-11-13 15:05:31 +01:00
|
|
|
CATEGORIES= sysutils audio
|
2004-06-13 17:01:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2004-02-20 16:22:22 +01:00
|
|
|
MASTER_SITE_SUBDIR= cdrdao
|
2004-02-18 15:56:10 +01:00
|
|
|
DISTNAME= cdrdao-${PORTVERSION}
|
1999-04-21 15:51:11 +02:00
|
|
|
|
2004-04-20 15:49:29 +02:00
|
|
|
MAINTAINER= marius@FreeBSD.org
|
2004-02-18 15:56:10 +01:00
|
|
|
COMMENT?= Record CD-R[W]s in disk-at-once mode
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/antlr:${PORTSDIR}/devel/pccts \
|
|
|
|
${LOCALBASE}/bin/dlg:${PORTSDIR}/devel/pccts
|
1999-04-21 15:51:11 +02:00
|
|
|
|
2007-09-15 13:58:51 +02:00
|
|
|
USE_BZIP2= yes
|
1999-04-21 15:51:11 +02:00
|
|
|
USE_GMAKE= yes
|
2002-10-12 17:48:17 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-04-21 15:51:11 +02:00
|
|
|
|
2005-08-12 18:20:44 +02:00
|
|
|
MP3OGG_LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \
|
|
|
|
mad.2:${PORTSDIR}/audio/libmad \
|
2007-07-28 14:27:31 +02:00
|
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis
|
2005-08-12 18:20:44 +02:00
|
|
|
|
2004-02-18 15:56:10 +01:00
|
|
|
.if ${PORTNAME} == "gcdmaster"
|
2005-08-12 18:20:44 +02:00
|
|
|
USE_GNOME= gnomehier pkgconfig
|
|
|
|
LIB_DEPENDS= ${MP3OGG_LIB_DEPENDS} \
|
|
|
|
gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao \
|
|
|
|
${LOCALBASE}/share/mime/packages/freedesktop.org.xml:${PORTSDIR}/misc/shared-mime-info
|
2004-02-18 15:56:10 +01:00
|
|
|
MAN1= gcdmaster.1
|
|
|
|
CONFIGURE_ARGS= --without-lame
|
|
|
|
.else
|
|
|
|
MAN1= cdrdao.1 cue2toc.1
|
|
|
|
CONFIGURE_ARGS= --without-xdao
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
.if defined(WITH_TOC2MP3)
|
|
|
|
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame
|
2002-11-13 15:05:31 +01:00
|
|
|
CONFIGURE_ARGS+= --with-lame-include=${LOCALBASE}/include \
|
|
|
|
--with-lame-lib=${LOCALBASE}/lib
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
PLIST_SUB+= TOC2MP3=""
|
2002-11-13 15:05:31 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-lame
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
PLIST_SUB+= TOC2MP3="@comment "
|
2002-11-13 15:05:31 +01:00
|
|
|
.endif
|
2005-08-12 18:20:44 +02:00
|
|
|
.if !defined(WITHOUT_MP3OGG)
|
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-mp3-support --without-ogg-support
|
|
|
|
.endif
|
2004-02-18 15:56:10 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-pcctsbin=${LOCALBASE}/bin \
|
|
|
|
--with-pcctsinc=${LOCALBASE}/include/pccts \
|
2005-11-29 22:21:24 +01:00
|
|
|
--without-posix-threads --with-scglib=pkg
|
2004-02-18 15:56:10 +01:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2004-06-13 17:01:27 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2002-11-13 15:05:31 +01:00
|
|
|
|
2006-05-07 18:47:24 +02:00
|
|
|
CCOM!= ${BASENAME} ${CC}
|
|
|
|
MAKE_ENV= CCOM=${CCOM} LANG=C
|
|
|
|
SCSILIBTARGET= ${ARCH}-freebsd-${CCOM}
|
|
|
|
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2005-08-12 18:20:44 +02:00
|
|
|
.if ${PORTNAME} != "gcdmaster" && \
|
|
|
|
(!defined(WITH_TOC2MP3) || !defined(WITHOUT_MP3OGG))
|
2002-10-12 17:48:17 +02:00
|
|
|
@${ECHO_MSG} ""
|
2004-02-18 15:56:10 +01:00
|
|
|
@${ECHO_MSG} "You may use the following build option(s):"
|
2002-10-12 17:48:17 +02:00
|
|
|
@${ECHO_MSG} ""
|
2005-08-12 18:20:44 +02:00
|
|
|
.if !defined(WITH_TOC2MP3)
|
2004-06-13 17:01:27 +02:00
|
|
|
@${ECHO_MSG} "WITH_TOC2MP3=yes builds with toc2mp3 (requires audio/lame)"
|
2005-08-12 18:20:44 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_MP3OGG)
|
|
|
|
@${ECHO_MSG} "WITHOUT_MP3OGG=yes builds without support for decoding MP3 and Ogg Vorbis"
|
|
|
|
@${ECHO_MSG} " files (not required unless using sysutils/gcdmaster;"
|
|
|
|
@${ECHO_MSG} " disabling saves a couple of dependencies)"
|
|
|
|
.endif
|
2002-10-12 17:48:17 +02:00
|
|
|
@${ECHO_MSG} ""
|
2004-02-18 15:56:10 +01:00
|
|
|
.endif
|
1999-08-12 20:49:28 +02:00
|
|
|
|
1999-09-20 02:36:16 +02:00
|
|
|
post-extract:
|
2006-05-07 18:47:24 +02:00
|
|
|
.if ${SCSILIBTARGET} != "i386-freebsd-cc"
|
2004-02-18 15:56:10 +01:00
|
|
|
@${LN} -sf ${WRKSRC}/scsilib/RULES/i386-freebsd-cc.rul \
|
2006-05-07 18:47:24 +02:00
|
|
|
${WRKSRC}/scsilib/RULES/${SCSILIBTARGET}.rul
|
1999-09-20 02:36:16 +02:00
|
|
|
.endif
|
|
|
|
|
2002-10-12 17:48:17 +02:00
|
|
|
post-patch:
|
2004-06-13 17:01:27 +02:00
|
|
|
.for i in 45libdeflt 45libedc 45libfile 45libhfs_iso 45libparanoia 45libunls \
|
|
|
|
45librscg 55cdda2wav 55cdrecord 55cmd 55mkisofs 55mkisofs!@!diag \
|
|
|
|
55readcd 55scgcheck 55scgskeleton 55rscsi 85man
|
2004-02-18 15:56:10 +01:00
|
|
|
@${RM} ${WRKSRC}/scsilib/TARGETS/${i}
|
|
|
|
.endfor
|
|
|
|
.if ${PORTNAME} == "gcdmaster"
|
|
|
|
@${REINPLACE_CMD} -E -e 's|(^SUBDIRS.+) utils|\1|' ${WRKSRC}/Makefile.in
|
2005-08-12 18:20:44 +02:00
|
|
|
@${REINPLACE_CMD} -E -e 's|(^gladedir.+=).+|\1 ${DATADIR}|' \
|
|
|
|
${WRKSRC}/xdao/Makefile.in
|
2004-02-18 15:56:10 +01:00
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|(SET_CDRDAO_PATH.+path=)(cdrdao)|\1${LOCALBASE}\/bin\/\2|g' \
|
|
|
|
${WRKSRC}/xdao/Settings.cc
|
2005-08-12 18:20:44 +02:00
|
|
|
@${REINPLACE_CMD} -E -e \
|
2007-10-25 01:37:25 +02:00
|
|
|
's|(icon-filename=).+(gcdmaster-doc.png)|\1${LOCALBASE}\/share\/pixmaps\/document-icons\/\2|g' \
|
2005-08-12 18:20:44 +02:00
|
|
|
${WRKSRC}/xdao/gcdmaster.keys
|
2004-02-18 15:56:10 +01:00
|
|
|
.else
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
.for i in cdrdao.man main.cc
|
2004-02-18 15:56:10 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/dao/${i}
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
.endfor
|
2004-02-18 15:56:10 +01:00
|
|
|
@${REINPLACE_CMD} -E -e 's|(^CDRDAO_DATA_DIR.+=).+|\1 ${DATADIR}|' \
|
|
|
|
${WRKSRC}/dao/Makefile.in
|
|
|
|
.endif
|
2002-10-12 17:48:17 +02:00
|
|
|
|
2002-11-13 15:05:31 +01:00
|
|
|
do-install:
|
2004-02-18 15:56:10 +01:00
|
|
|
.if ${PORTNAME} == "gcdmaster"
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${PREFIX}/bin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/xdao/gcdmaster.man \
|
|
|
|
${PREFIX}/man/man1/gcdmaster.1
|
2005-08-12 18:20:44 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster-doc.png \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/pixmaps/document-icons
|
2005-08-12 18:20:44 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.applications \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/application-registry
|
2004-02-18 15:56:10 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.desktop \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/applications
|
2005-08-12 18:20:44 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.keys \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/mime-info
|
2005-08-12 18:20:44 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.mime \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/mime-info
|
2004-02-18 15:56:10 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.png \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/share/pixmaps
|
2005-08-12 18:20:44 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.xml \
|
2006-10-14 10:54:54 +02:00
|
|
|
${LOCALBASE}/share/mime/packages
|
2005-08-12 18:20:44 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdao/glade/ProjectChooser.glade ${DATADIR}
|
2004-02-18 15:56:10 +01:00
|
|
|
.else
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${PREFIX}/bin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man ${PREFIX}/man/man1/cdrdao.1
|
2004-02-18 15:56:10 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/utils/cue2toc ${PREFIX}/bin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/utils/cue2toc.1 ${PREFIX}/man/man1
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cddb ${PREFIX}/bin
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cue ${PREFIX}/bin
|
2002-11-13 15:05:31 +01:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/dao/cdrdao.drivers ${DATADIR}/drivers
|
From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
this should work around the generation of broken code with GCC and an
optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
arguments to the constructor when allocating an array of objects with new,
fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
build it.
- Clean up some stuff.
NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
"New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
it will get the length of the track wrong, display a garbage waveform
and play nothing when hitting the play-button, same for further added
tracks. This can be worked around by saving the project and re-opening
it, now appending further tracks also works and the burnt CD is fine.
This is _not_ a bug of this port but a bug in gcdmaster itself and
is totally reproducable on Linux, therefore please don't mail the
maintainer of this port about it expect you have a fix, thanks.
Submitted by: maintainer
2003-01-02 16:53:38 +01:00
|
|
|
.if defined(WITH_TOC2MP3)
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2mp3 ${PREFIX}/bin
|
|
|
|
.endif
|
2002-11-13 15:05:31 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-12 17:48:17 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-08-12 18:20:44 +02:00
|
|
|
.for i in CREDITS ChangeLog README README.PlexDAE
|
2002-10-12 17:48:17 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
1999-04-21 15:51:11 +02:00
|
|
|
.endfor
|
2002-11-13 15:05:31 +01:00
|
|
|
.endif
|
2004-02-18 15:56:10 +01:00
|
|
|
.endif
|
1999-04-21 15:51:11 +02:00
|
|
|
|
2004-06-13 17:01:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|