1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/multimedia/lsdvd/Makefile
Ganael LAPLANCHE 8e3dcb3c28 - Update multimedia/libdvdread to 4.9.9
- Bump dependent ports' PORTREVISIONS and update LIB_DEPENDS [1]
- multimedia/libdvdnav: remove dependency to (now removed) dvdread-config
- sysutils/vstrip: remove useless dependency to multimedia/libdvdread

Approved by:	portmgr (implicit) [1]
2014-05-13 10:17:04 +00:00

36 lines
919 B
Makefile

# Created by: michael johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= lsdvd
PORTVERSION= 0.16
PORTREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20-%20I%20hate%20James%20Blunt
MAINTAINER= ports@FreeBSD.org
COMMENT= Print information about the contents and structure of a DVD
LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= lsdvd.1
PLIST_FILES= bin/lsdvd
WITH_DVD_DEVICE?=/dev/acd0
NO_STAGE= yes
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>