2009-05-20 00:03:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2009/05/19 22:03:44 abs Exp $
|
2003-01-17 14:53:11 +01:00
|
|
|
|
|
|
|
DISTNAME= dvdrtools-${VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:S/dvdrtools/dvdrecord/}
|
2007-01-24 03:17:00 +01:00
|
|
|
PKGREVISION= 2
|
2003-01-17 14:53:11 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://freesoftware.fsf.org/download/dvdrtools/dvdrtools.pkg/${VERSION}/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-01-17 14:53:11 +01:00
|
|
|
HOMEPAGE= http://www.nongnu.org/dvdrtools/
|
2004-02-08 14:18:13 +01:00
|
|
|
COMMENT= This program allows you to create DVDs on a DVD-Recorder
|
2003-01-17 14:53:11 +01:00
|
|
|
|
2003-09-01 05:25:25 +02:00
|
|
|
VERSION= 0.1.5
|
2003-01-17 14:53:11 +01:00
|
|
|
|
2005-09-28 22:52:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-24 03:17:00 +01:00
|
|
|
# Override wrong usage of AC_DEFINE_UNQUOTED:
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2004-02-08 14:16:44 +01:00
|
|
|
LIBS.SunOS+= -lsocket
|
2009-05-20 00:03:44 +02:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-02-08 14:16:44 +01:00
|
|
|
|
2008-03-08 12:14:11 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
|
|
|
|
LIBS.NetBSD+= -lrt
|
|
|
|
.endif
|
|
|
|
|
2003-01-17 14:53:11 +01:00
|
|
|
do-install:
|
2009-05-20 00:03:44 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/dvdrecord ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cdrecord/dvdrecord.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2003-01-17 14:53:11 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|