2004-03-31 16:17:52 +02:00
|
|
|
# New ports collection makefile for: lsdvd
|
|
|
|
# Date created: 2004-03-30
|
|
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lsdvd
|
2006-05-31 09:54:18 +02:00
|
|
|
PORTVERSION= 0.16
|
2012-01-17 15:35:18 +01:00
|
|
|
PORTREVISION= 6
|
2004-03-31 16:17:52 +02:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20-%20I%20hate%20James%20Blunt
|
2004-03-31 16:17:52 +02:00
|
|
|
|
2013-07-09 23:26:48 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-03-31 16:17:52 +02:00
|
|
|
COMMENT= Print information about the contents and structure of a DVD
|
|
|
|
|
2009-02-08 19:45:38 +01:00
|
|
|
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
|
2004-03-31 16:17:52 +02:00
|
|
|
|
2005-11-11 10:38:57 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-05-31 09:54:18 +02:00
|
|
|
|
|
|
|
MAN1= lsdvd.1
|
2004-03-31 16:17:52 +02:00
|
|
|
PLIST_FILES= bin/lsdvd
|
|
|
|
|
2004-12-30 02:56:30 +01:00
|
|
|
WITH_DVD_DEVICE?=/dev/acd0
|
2004-03-31 16:17:52 +02:00
|
|
|
|
|
|
|
pre-everything::
|
2005-01-25 03:55:36 +01:00
|
|
|
@${ECHO_MSG} "===> The default DVD device is ${WITH_DVD_DEVICE}"
|
2004-03-31 16:17:52 +02: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 03:55:36 +01:00
|
|
|
@${ECHO_MSG} "===>"
|
2004-03-31 16:17:52 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-12-30 02:56:30 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/dev/dvd|${WITH_DVD_DEVICE}|' \
|
2004-03-31 16:17:52 +02:00
|
|
|
${WRKSRC}/lsdvd.c
|
|
|
|
|
2007-10-04 04:01:29 +02:00
|
|
|
.include <bsd.port.mk>
|