freebsd-ports/sysutils/dvdbackup/Makefile
Michael Johnson 6a4e8d0ded add dvdbackup
Backup content from a DVD to hard disk

PR:		ports/72091
Approved by:	adamw (mentor)
2004-11-23 21:15:43 +00:00

34 lines
800 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
CATEGORIES= sysutils
MASTER_SITES= http://dvd-create.sourceforge.net/
MAINTAINER= ahze@FreeBSD.org
COMMENT= Backup content from DVD to hard disk
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/dvdbackup
PORTDOCS= README
USE_REINPLACE= yes
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>