2004-03-31 14:17:52 +00:00
|
|
|
# New ports collection makefile for: lsdvd
|
|
|
|
# Date created: 2004-03-30
|
|
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lsdvd
|
2006-05-31 07:54:18 +00:00
|
|
|
PORTVERSION= 0.16
|
2006-12-02 13:06:55 +00:00
|
|
|
PORTREVISION= 1
|
2004-03-31 14:17:52 +00:00
|
|
|
CATEGORIES= multimedia
|
2004-05-25 19:16:09 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2004-03-31 14:17:52 +00:00
|
|
|
MASTER_SITE_SUBDIR= acidrip
|
|
|
|
|
2005-11-11 09:38:57 +00:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2004-03-31 14:17:52 +00:00
|
|
|
COMMENT= Print information about the contents and structure of a DVD
|
|
|
|
|
|
|
|
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
|
|
|
|
|
2005-11-11 09:38:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2006-05-31 07:54:18 +00:00
|
|
|
|
|
|
|
MAN1= lsdvd.1
|
2004-03-31 14:17:52 +00:00
|
|
|
PLIST_FILES= bin/lsdvd
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
2004-12-30 01:56:30 +00:00
|
|
|
WITH_DVD_DEVICE?=/dev/acd0c
|
2006-08-07 09:44:36 +00:00
|
|
|
BROKEN= does not configure
|
2004-03-31 14:17:52 +00:00
|
|
|
.else
|
2004-12-30 01:56:30 +00:00
|
|
|
WITH_DVD_DEVICE?=/dev/acd0
|
2004-03-31 14:17:52 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
2005-01-25 02:55:36 +00:00
|
|
|
@${ECHO_MSG} "===> The default DVD device is ${WITH_DVD_DEVICE}"
|
2004-03-31 14:17:52 +00:00
|
|
|
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
|
|
|
|
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
|
2005-01-25 02:55:36 +00:00
|
|
|
@${ECHO_MSG} "===>"
|
2004-03-31 14:17:52 +00:00
|
|
|
|
|
|
|
post-patch:
|
2004-12-30 01:56:30 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/dev/dvd|${WITH_DVD_DEVICE}|' \
|
2004-03-31 14:17:52 +00:00
|
|
|
${WRKSRC}/lsdvd.c
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|