1999-04-21 13:51:11 +00:00
|
|
|
# New ports collection makefile for: cdrdao
|
1999-08-12 18:49:28 +00:00
|
|
|
# Version required: 1.1.2
|
1999-04-21 13:51:11 +00:00
|
|
|
# Date created: 7 April 1999
|
|
|
|
# Whom: futatuki
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1999-04-21 13:51:11 +00:00
|
|
|
#
|
2000-01-22 23:43:13 +00:00
|
|
|
# If you don't want to use Joerg Schilling's SCSI library,
|
1999-04-21 13:51:11 +00:00
|
|
|
# set DONT_USE_SCGLIB = yes
|
2000-01-22 23:43:13 +00:00
|
|
|
# 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
|
1999-04-21 13:51:11 +00:00
|
|
|
|
1999-11-01 02:04:33 +00:00
|
|
|
DISTNAME= cdrdao-1.1.3.src
|
|
|
|
PKGNAME= cdrdao-1.1.3
|
1999-05-12 10:38:07 +00:00
|
|
|
CATEGORIES= audio
|
1999-04-21 13:51:11 +00:00
|
|
|
MASTER_SITES= http://www.ping.de/sites/daneb/
|
|
|
|
|
1999-11-01 02:04:33 +00:00
|
|
|
MAINTAINER= futatuki@debug.gr.jp
|
1999-04-21 13:51:11 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts\
|
|
|
|
dlg:${PORTSDIR}/devel/pccts
|
|
|
|
|
1999-11-01 02:04:33 +00:00
|
|
|
WRKSRC= ${WRKDIR}/cdrdao-1.1.3
|
1999-04-21 13:51:11 +00:00
|
|
|
|
1999-08-29 04:45:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-04-21 13:51:11 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= cdrdao.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-08-13 22:37:38 +00:00
|
|
|
.if exists(${X11BASE}/include/gtk--.h)
|
1999-08-12 18:49:28 +00:00
|
|
|
XCDRDAO= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
XCDRDAO= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(XCDRDAO)
|
1999-08-29 06:25:05 +00:00
|
|
|
USE_NEWGCC= yes
|
1999-10-25 07:37:06 +00:00
|
|
|
LIB_DEPENDS+= gtkmm-1.0.7:${PORTSDIR}/x11-toolkits/gtk--
|
1999-11-01 02:04:33 +00:00
|
|
|
MAN1+= xcdrdao.1
|
|
|
|
PLIST=${PKGDIR}/PLIST.xcdrdao
|
1999-08-12 18:49:28 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-gtkmmtest
|
|
|
|
.endif
|
|
|
|
|
1999-07-10 19:36:42 +00:00
|
|
|
.if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000
|
1999-04-21 13:51:11 +00:00
|
|
|
CONFIGURE_ARGS+= --without-scglib
|
|
|
|
.endif
|
|
|
|
|
1999-08-12 18:49:28 +00:00
|
|
|
.if defined(DONT_USE_PTHREADS) && ${OSVERSION} > 320000
|
1999-07-10 19:36:42 +00:00
|
|
|
CONFIGURE_ARGS+= --without-posix-threads
|
|
|
|
.endif
|
|
|
|
|
1999-08-12 18:49:28 +00:00
|
|
|
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
|
|
|
|
|
1999-09-20 00:36:16 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
post-extract:
|
|
|
|
@(cd ${WRKSRC}/scsilib/RULES; \
|
|
|
|
ln -sf i386-freebsd-cc.rul alpha-freebsd-cc.rul)
|
|
|
|
.endif
|
|
|
|
|
1999-04-21 13:51:11 +00:00
|
|
|
post-install:
|
|
|
|
strip $(PREFIX)/bin/cdrdao
|
1999-08-12 18:49:28 +00:00
|
|
|
.if defined(XCDRDAO)
|
|
|
|
strip $(PREFIX)/bin/xcdrdao
|
|
|
|
.endif
|
1999-04-21 13:51:11 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/cdrdao
|
1999-11-01 02:04:33 +00:00
|
|
|
.for i in COPYING CREDITS INSTALL README README.FreeBSD README.PlexDAE \
|
|
|
|
Release-1.1.0 Release-1.1.2 Release-1.1.3
|
1999-04-21 13:51:11 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/cdrdao/
|
|
|
|
.endfor
|
2000-01-29 20:01:39 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-04-21 13:51:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|