openbsd-ports/multimedia/dvdbackup/Makefile
jakemsr fae605fb5a adjust for libdvdav update - quit using the libdvdnav version
of libdvdread haders since they are no longer part of libdvdnav.
2009-07-30 19:10:28 +00:00

39 lines
916 B
Makefile

# $OpenBSD: Makefile,v 1.7 2009/07/30 19:10:28 jakemsr Exp $
COMMENT= DVD ripper
DISTNAME= dvdbackup-0.1.1
PKGNAME= ${DISTNAME}p3
CATEGORIES= multimedia
HOMEPAGE= http://dvd-create.sourceforge.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://dvd-create.sourceforge.net/
LIB_DEPENDS= dvdnav.>=6::multimedia/libdvdnav
WANTLIB= c dvdread pthread
NO_REGRESS= Yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKDIST= ${WRKDIR}/dvdbackup
do-build:
cd ${WRKSRC}/src && ${CC} ${CFLAGS} -c dvdbackup.c
cd ${WRKSRC}/src && ${CC} ${LDFLAGS} -o dvdbackup \
dvdbackup.o -ldvdnav -pthread
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvdbackup
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdbackup
${INSTALL_PROGRAM} ${WRKBUILD}/src/dvdbackup ${PREFIX}/bin
.include <bsd.port.mk>