2003-06-17 03:21:12 +02:00
|
|
|
# New ports collection makefile for: dvd+rw-tools
|
|
|
|
# Date created: 2003-6-15
|
|
|
|
# Whom: chuck@pkix.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dvd+rw-tools
|
2008-04-09 23:15:04 +02:00
|
|
|
PORTVERSION= 7.1
|
2003-06-17 03:21:12 +02:00
|
|
|
CATEGORIES= sysutils
|
2006-11-17 14:23:57 +01:00
|
|
|
MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
|
2003-07-08 07:08:57 +02:00
|
|
|
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
|
2003-06-17 03:21:12 +02:00
|
|
|
|
|
|
|
MAINTAINER= chuck@pkix.net
|
2003-07-21 03:16:28 +02:00
|
|
|
COMMENT= DVD burning software
|
2003-06-17 03:21:12 +02:00
|
|
|
|
2007-01-31 15:07:59 +01:00
|
|
|
USE_CDRTOOLS= yes
|
2003-06-17 03:21:12 +02:00
|
|
|
|
|
|
|
MAN1= growisofs.1
|
2004-07-22 23:23:05 +02:00
|
|
|
BIN_FILES= growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo dvd-ram-control
|
2004-06-14 22:48:28 +02:00
|
|
|
PLIST_FILES= ${BIN_FILES:S|^|bin/|}
|
|
|
|
PORTDOCS= index.html
|
2003-09-02 06:54:53 +02:00
|
|
|
|
2003-11-12 14:30:23 +01:00
|
|
|
post-patch:
|
2006-05-10 21:16:19 +02:00
|
|
|
@${REINPLACE_CMD} -E \
|
2006-03-27 18:28:57 +02:00
|
|
|
-e 's/-D_THREAS_SAFE/-D_THREAD_SAFE/' \
|
|
|
|
-e 's/-D_THREAD_SAFE/-D_THREAD_SAFE ${PTHREAD_CFLAGS}/' \
|
|
|
|
-e 's/-pthread/${PTHREAD_LIBS}/' \
|
|
|
|
-e 's/-O2//' \
|
|
|
|
${WRKSRC}/Makefile.m4
|
2003-11-12 14:30:23 +01:00
|
|
|
|
2004-06-14 22:48:28 +02:00
|
|
|
do-install:
|
|
|
|
.for i in ${BIN_FILES}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
|
|
|
|
.endfor
|
2003-06-17 03:21:12 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${MANPREFIX}/man/man1/
|
2006-05-10 21:16:19 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-09-30 07:53:23 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-05-10 21:16:19 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/index.html ${DOCSDIR}
|
2003-09-30 07:53:23 +02:00
|
|
|
.endif
|
2003-06-17 03:21:12 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|