summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-12 18:49:28 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-12 18:49:28 +0000
commitf162ef270b43412377b8460c02bdeffade108611 (patch)
tree7975a7f5a23778064a38660a18b02554c1c61069
parentUpdate to 1.33.20 and make the patches use ${PREFIX} rather than (diff)
Update to version 1.1.2
PR: 12642 Submitted by: maintainer Build xcdrdao if gtk-- is installed or XCDRDAO is set to yes. PR: 12642 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes: svn path=/head/; revision=20675
-rw-r--r--audio/cdrdao/Makefile48
-rw-r--r--audio/cdrdao/distinfo2
-rw-r--r--audio/cdrdao/pkg-plist1
-rw-r--r--sysutils/cdrdao/Makefile48
-rw-r--r--sysutils/cdrdao/distinfo2
-rw-r--r--sysutils/cdrdao/pkg-plist1
6 files changed, 84 insertions, 18 deletions
diff --git a/audio/cdrdao/Makefile b/audio/cdrdao/Makefile
index 551b92e705a3..54b753d4d584 100644
--- a/audio/cdrdao/Makefile
+++ b/audio/cdrdao/Makefile
@@ -1,16 +1,17 @@
# New ports collection makefile for: cdrdao
-# Version required: 1.1.1
+# Version required: 1.1.2
# Date created: 7 April 1999
# Whom: futatuki
#
-# $Id: Makefile,v 1.2 1999/05/12 10:38:07 asami Exp $
+# $Id: Makefile,v 1.3 1999/07/10 19:36:38 sada Exp $
#
# 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,56 @@ MAINTAINER= futatuki@fureai.or.jp
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(PACKAGE_BUILDING)
+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 --git a/audio/cdrdao/distinfo b/audio/cdrdao/distinfo
index ffc36c975452..e5575fdbc466 100644
--- a/audio/cdrdao/distinfo
+++ b/audio/cdrdao/distinfo
@@ -1 +1 @@
-MD5 (cdrdao-1.1.1.src.tar.gz) = d5fd669ed5fee77c9053bc325c7b9f58
+MD5 (cdrdao-1.1.2.src.tar.gz) = 9ba656894cb24d05502943e7e804cd3e
diff --git a/audio/cdrdao/pkg-plist b/audio/cdrdao/pkg-plist
index 7ceacc8dcfa8..e717bbc33809 100644
--- a/audio/cdrdao/pkg-plist
+++ b/audio/cdrdao/pkg-plist
@@ -1,4 +1,5 @@
bin/cdrdao
+bin/xcdrdao
share/doc/cdrdao/COPYING
share/doc/cdrdao/INSTALL
share/doc/cdrdao/README
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile
index 551b92e705a3..54b753d4d584 100644
--- a/sysutils/cdrdao/Makefile
+++ b/sysutils/cdrdao/Makefile
@@ -1,16 +1,17 @@
# New ports collection makefile for: cdrdao
-# Version required: 1.1.1
+# Version required: 1.1.2
# Date created: 7 April 1999
# Whom: futatuki
#
-# $Id: Makefile,v 1.2 1999/05/12 10:38:07 asami Exp $
+# $Id: Makefile,v 1.3 1999/07/10 19:36:38 sada Exp $
#
# 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,56 @@ MAINTAINER= futatuki@fureai.or.jp
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(PACKAGE_BUILDING)
+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 --git a/sysutils/cdrdao/distinfo b/sysutils/cdrdao/distinfo
index ffc36c975452..e5575fdbc466 100644
--- a/sysutils/cdrdao/distinfo
+++ b/sysutils/cdrdao/distinfo
@@ -1 +1 @@
-MD5 (cdrdao-1.1.1.src.tar.gz) = d5fd669ed5fee77c9053bc325c7b9f58
+MD5 (cdrdao-1.1.2.src.tar.gz) = 9ba656894cb24d05502943e7e804cd3e
diff --git a/sysutils/cdrdao/pkg-plist b/sysutils/cdrdao/pkg-plist
index 7ceacc8dcfa8..e717bbc33809 100644
--- a/sysutils/cdrdao/pkg-plist
+++ b/sysutils/cdrdao/pkg-plist
@@ -1,4 +1,5 @@
bin/cdrdao
+bin/xcdrdao
share/doc/cdrdao/COPYING
share/doc/cdrdao/INSTALL
share/doc/cdrdao/README