mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
c6542427d4
-Turn over maintainership -Bump ports that depend on libdvdread since shared lib version rolls back from .5 to .4 -Fix multimedia/ogle build with this version PR: 127849 Submitted by: Ganael LAPLANCHE <ganael.laplanche@martymac.com>
38 lines
915 B
Makefile
38 lines
915 B
Makefile
# New ports collection makefile for: lsdvd
|
|
# Date created: 2004-03-30
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lsdvd
|
|
PORTVERSION= 0.16
|
|
PORTREVISION= 4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= Print information about the contents and structure of a DVD
|
|
|
|
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= lsdvd.1
|
|
PLIST_FILES= bin/lsdvd
|
|
|
|
WITH_DVD_DEVICE?=/dev/acd0
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} "===> The default DVD device is ${WITH_DVD_DEVICE}"
|
|
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
|
|
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
|
|
@${ECHO_MSG} "===>"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/dev/dvd|${WITH_DVD_DEVICE}|' \
|
|
${WRKSRC}/lsdvd.c
|
|
|
|
.include <bsd.port.mk>
|