2008-04-23 17:35:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2008/04/23 15:35:50 wiz Exp $
|
2003-05-03 07:42:47 +02:00
|
|
|
#
|
|
|
|
|
2008-04-23 17:35:50 +02:00
|
|
|
DISTNAME= dvd+rw-tools-7.1
|
2003-05-03 09:08:37 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
|
2003-05-03 07:42:47 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= dan@NetBSD.org
|
2003-05-03 09:08:37 +02:00
|
|
|
HOMEPAGE= http://fy.chalmers.se/~appro/linux/DVD+RW/
|
|
|
|
COMMENT= Tools for writing DVD+R[W] disks
|
2003-05-03 07:42:47 +02:00
|
|
|
|
2008-01-11 21:05:27 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-01-06 00:29:04 +01:00
|
|
|
DEPENDS+= {cdrtools-[1-9]*,cdrtools-ossdvd-[0-9]*}:../../sysutils/cdrtools
|
2003-05-03 07:42:47 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2004-06-30 02:11:23 +02:00
|
|
|
|
2006-07-25 15:17:28 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2008-02-10 00:49:27 +01:00
|
|
|
USE_TOOLS+= m4
|
2006-05-08 19:07:57 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2005-11-04 22:55:09 +01:00
|
|
|
# These are the only platforms listed in growisofs.c
|
|
|
|
ONLY_FOR_PLATFORM=Linux-*-* OpenBSD-*-* NetBSD-*-* FreeBSD-*-* \
|
|
|
|
DragonFly-*-* SunOS-*-* HP-UX-*-* IRIX-*-*
|
|
|
|
|
2006-01-31 20:26:32 +01:00
|
|
|
LDFLAGS.NetBSD+= -lrt # sem_* functions
|
2006-01-31 20:01:28 +01:00
|
|
|
|
2003-05-03 07:42:47 +02:00
|
|
|
do-install:
|
2008-01-11 21:05:27 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/growisofs ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/growisofs.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dvd+rw-booktype ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dvd+rw-format ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dvd+rw-mediainfo ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/dvd+rw-tools
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/index.html \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/dvd+rw-tools
|
2003-05-03 07:42:47 +02:00
|
|
|
|
2006-01-31 20:01:28 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-05-03 07:42:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|