39 lines
984 B
Makefile
39 lines
984 B
Makefile
|
# 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
|
||
|
|
||
|
MAINTAINER= q@uni.de
|
||
|
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>
|