1e44513898
* libdvdread - add patch for including <stdlib.h> in dvdread/ifo_types.h * Others - LIB_DEPENDS changes (require libdvdread.so.5) * Others - PORTREVISION increment for those dependent on libdvdread Approved by: philip
34 lines
813 B
Makefile
34 lines
813 B
Makefile
# New ports collection makefile for: dvdbackup
|
|
# Date created: 2004-09-24
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dvdbackup
|
|
PORTVERSION= 0.1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://dvd-create.sourceforge.net/ GENTOO/distfiles
|
|
|
|
MAINTAINER= conrads@cox.net
|
|
COMMENT= Backup content from DVD to hard disk
|
|
|
|
LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST_FILES= bin/dvdbackup
|
|
PORTDOCS= README
|
|
|
|
do-build:
|
|
${CC} -o ${WRKSRC}/dvdbackup ${CFLAGS} -I${LOCALBASE}/include \
|
|
-L${LOCALBASE}/lib -ldvdread ${WRKSRC}/src/dvdbackup.c
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/dvdbackup ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|