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