1999-04-21 13:51:11 +00:00
|
|
|
# New ports collection makefile for: cdrdao
|
|
|
|
# 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-04-08 21:25:03 +00:00
|
|
|
PORTNAME= cdrdao
|
|
|
|
PORTVERSION= 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/
|
2000-04-08 21:25:03 +00:00
|
|
|
EXTRACT_SUFX= .src.tar.gz
|
1999-04-21 13:51:11 +00:00
|
|
|
|
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
|
|
|
|
|
2000-04-17 00:18:05 +00:00
|
|
|
.if defined(WITHOUT_SCGLIB) && ${OSVERSION} > 300000
|
1999-04-21 13:51:11 +00:00
|
|
|
CONFIGURE_ARGS+= --without-scglib
|
|
|
|
.endif
|
|
|
|
|
2000-04-17 00:18:05 +00:00
|
|
|
.if defined(WITHOUT_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:
|
2000-04-17 00:18:05 +00:00
|
|
|
@${ECHO_MSG} "If you don't want to use Joerg Schilling's SCSI library,"
|
|
|
|
@${ECHO_MSG} "set WITHOUT_SCGLIB=yes."
|
|
|
|
@${ECHO_MSG} "If you don't want to use pthreads, set WITHOUT_PTHREADS=yes."
|
1999-08-12 18:49:28 +00:00
|
|
|
.if !defined(XCDRDAO)
|
|
|
|
@${ECHO_MSG} "To build the graphical X toc file editor, xcdrdao, type:"
|
2000-04-17 00:18:05 +00:00
|
|
|
@${ECHO_MSG} " make XCDRDAO=yes."
|
1999-08-12 18:49:28 +00:00
|
|
|
.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>
|