Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 1999 21:00:02 -0700 (PDT)
From:      futatuki@fureai.or.jp (Yasuhito FUTATSUKI)
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/12642: audio/cdrdao: port doesn't build xcdrdao
Message-ID:  <199908030400.VAA04963@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/12642; it has been noted by GNATS.

From: futatuki@fureai.or.jp (Yasuhito FUTATSUKI)
To: FreeBSD-gnats-submit@freebsd.org
Cc: futatuki@fureai.or.jp, nox@jelal.kn-bremen.de
Subject: Re: ports/12642: audio/cdrdao: port doesn't build xcdrdao
Date: Tue, 3 Aug 1999 12:40:49 +0900 (JST)

 Hi,
 
 Cdrdao-1.1.2 has been released on last month. So I update audio/cdrdao
 port, including xcdrdao support from PR ports/12642.
 (I've tested it on 3.2-stable with/without gtk--, but don't on 4.0-current) 
 
 This is a patch against ports-current:
      changed file: Makefile, new file: pkg/PLIST.xcdrdao
 
 BEGIN --- cut here --- cut here --- cut here --- cut here ---
 diff -urN ../cdrdao/Makefile ./Makefile
 --- ../cdrdao/Makefile	Sun Jul 11 04:36:38 1999
 +++ ./Makefile	Tue Aug  3 11:49:57 1999
 @@ -1,5 +1,5 @@
  # New ports collection makefile for:    cdrdao
 -# Version required:     1.1.1
 +# Version required:     1.1.2
  # Date created:         7 April 1999
  # Whom:                 futatuki
  #
 @@ -7,10 +7,11 @@
  #
  # If You don't want to use Joerg Schilling's SCSI library,
  # set DONT_USE_SCGLIB = yes
 -# If You don't want to use pthead, set DONT_USE_PTHREAD = yes
 +# If You don't want to use pthreads, set DONT_USE_PTHREADS = yes
 +# If You want the graphical X toc file editor, set XCDRDAO = yes
  
 -DISTNAME=		cdrdao-1.1.1.src
 -PKGNAME=		cdrdao-1.1.1
 +DISTNAME=		cdrdao-1.1.2.src
 +PKGNAME=		cdrdao-1.1.2
  CATEGORIES=		audio
  MASTER_SITES=		http://www.ping.de/sites/daneb/
  
 @@ -19,25 +20,52 @@
  BUILD_DEPENDS=		antlr:${PORTSDIR}/devel/pccts\
  			dlg:${PORTSDIR}/devel/pccts
  
 -WRKSRC=         	${WRKDIR}/cdrdao-1.1.1
 +WRKSRC=         	${WRKDIR}/cdrdao-1.1.2
  
  GNU_CONFIGURE=		yes
 -CONFIGURE_ARGS= 	--disable-gtkmmtest
  USE_GMAKE=	yes
  MAN1=		cdrdao.1
  
  .include <bsd.port.pre.mk>
  
 +.if exists(${PREFIX}/include/gtk--.h)
 +XCDRDAO=		yes
 +.endif
 +
 +.if defined(XCDRDAO)
 +LIB_DEPENDS+=		gtkmm-1.0.5:${PORTSDIR}/x11-toolkits/gtk--
 +PLIST=          	${PKGDIR}/PLIST.xcdrdao
 +.else
 +CONFIGURE_ARGS= 	--disable-gtkmmtest
 +.endif
 +
 +.if defined(XCDRDAO) && ${OSVERSION} < 400004
 +BUILD_DEPENDS+=		eg++:${PORTSDIR}/lang/egcs
 +CC=			egcc
 +CXX=			eg++
 +.endif
 +
  .if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000
  CONFIGURE_ARGS+= 	--without-scglib
  .endif
  
 -.if defined(DONT_USE_PTHREAD) && ${OSVERSION} > 320000
 +.if defined(DONT_USE_PTHREADS) && ${OSVERSION} > 320000
  CONFIGURE_ARGS+=	--without-posix-threads
  .endif
  
 +pre-fetch:
 +.if !defined(XCDRDAO)
 +	@${ECHO_MSG} "To build the graphical X toc file editor, xcdrdao, type:"
 +	@${ECHO_MSG} "    make XCDRDAO=yes"
 +.else
 +	@${ECHO_MSG} "Building with xcdrdao"
 +.endif
 +
  post-install:
  	strip $(PREFIX)/bin/cdrdao
 +.if defined(XCDRDAO)
 +	strip $(PREFIX)/bin/xcdrdao
 +.endif
  	@${MKDIR} ${PREFIX}/share/doc/cdrdao
  .for i in COPYING INSTALL README README.FreeBSD README.PlexDAE
  	@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/cdrdao/
 diff -urN ../cdrdao/files/md5 ./files/md5
 --- ../cdrdao/files/md5	Tue Jun 29 00:53:42 1999
 +++ ./files/md5	Tue Aug  3 01:44:55 1999
 @@ -1 +1 @@
 -MD5 (cdrdao-1.1.1.src.tar.gz) = d5fd669ed5fee77c9053bc325c7b9f58
 +MD5 (cdrdao-1.1.2.src.tar.gz) = 9ba656894cb24d05502943e7e804cd3e
 diff -urN ../cdrdao/pkg/PLIST.xcdrdao ./pkg/PLIST.xcdrdao
 --- ../cdrdao/pkg/PLIST.xcdrdao	Thu Jan  1 09:00:00 1970
 +++ ./pkg/PLIST.xcdrdao	Tue Aug  3 00:00:59 1999
 @@ -0,0 +1,8 @@
 +bin/cdrdao
 +bin/xcdrdao
 +share/doc/cdrdao/COPYING 
 +share/doc/cdrdao/INSTALL 
 +share/doc/cdrdao/README 
 +share/doc/cdrdao/README.FreeBSD 
 +share/doc/cdrdao/README.PlexDAE 
 +@dirrm share/doc/cdrdao
 END   --- cut here --- cut here --- cut here --- cut here ---
 
 Cheers,
 
  -- Yasuhito FUTATSUKI
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908030400.VAA04963>