summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/Makefile
blob: 46f170b5428c6c6e816808427c366b3668de91e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    cdrdao
# Version required:     1.1.0
# Date created:         7 April 1999
# Whom:                 futatuki
#
# $Id: Makefile,v 1.1.1.1 1999/04/21 13:51:10 sada Exp $
#
# If You don't want to use Joerg Schilling's SCSI library,
# set DONT_USE_SCGLIB = yes

DISTNAME=		cdrdao-1.1.0.src
PKGNAME=		cdrdao-1.1.0
CATEGORIES=		audio
MASTER_SITES=		http://www.ping.de/sites/daneb/

MAINTAINER=		futatuki@fureai.or.jp

BUILD_DEPENDS=		antlr:${PORTSDIR}/devel/pccts\
			dlg:${PORTSDIR}/devel/pccts

WRKSRC=         	${WRKDIR}/cdrdao-1.1.0

GNU_CONFIGURE=		yes
CONFIGURE_ARGS= 	--disable-gtkmmtest
USE_GMAKE=	yes
MAN1=		cdrdao.1

.include <bsd.port.pre.mk>

.if defined(DONT_USE_SCGLIB) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= 	--without-scglib
.endif

post-install:
	strip $(PREFIX)/bin/cdrdao
	@${MKDIR} ${PREFIX}/share/doc/cdrdao
.for i in COPYING INSTALL README README.FreeBSD README.PlexDAE
	@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/cdrdao/
.endfor
	@${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.post.mk>