2005-01-29 16:00:20 +01:00
|
|
|
# New ports collection makefile for: multimedia/lxdvdrip
|
|
|
|
# Date created: 26.01.2005
|
|
|
|
# Whom: Ulrich Spoerlein <q@uni.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lxdvdrip
|
|
|
|
PORTVERSION= 1.41
|
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://download.berlios.de/lxdvdrip/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-3
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-05-13 22:17:27 +02:00
|
|
|
MAINTAINER= q@galgenberg.net
|
2005-01-29 16:00:20 +01:00
|
|
|
COMMENT= Command Line Tool to make a copy from a Video DVD
|
|
|
|
|
|
|
|
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}; ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
|
|
-ldvdread -lm -o lxdvdrip lxdvdrip.c)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lxdvdrip ${LOCALBASE}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc-pak/lxdvdrip.conf.* ${LOCALBASE}/etc
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc-pak && ${CP} Changelog* README.* TODO freebsd.doc ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|