pkgsrc/multimedia/dvdbackup/Makefile

29 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.6 2011/02/28 14:52:57 wiz Exp $
DISTNAME= dvdbackup-0.1.1
PKGREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= http://dvd-create.sourceforge.net/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dvd-create.sourceforge.net/
COMMENT= DVD backup utility
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/dvdbackup/src
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
cd ${WRKSRC}; \
${CC} -o dvdbackup dvdbackup.c ${CFLAGS} ${LDFLAGS} -ldvdread
do-install:
cd ${WRKSRC}; \
${INSTALL_PROGRAM} dvdbackup ${DESTDIR}${PREFIX}/bin;
${INSTALL_MAN} ${FILESDIR}/dvdbackup.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"