openbsd-ports/multimedia/dvdbackup/Makefile

39 lines
898 B
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.9 2010/11/19 07:23:12 espie Exp $
COMMENT= DVD ripper
DISTNAME= dvdbackup-0.1.1
2010-10-24 17:40:38 -04:00
REVISION= 3
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/
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= multimedia/libdvdnav
2010-10-24 17:40:38 -04:00
WANTLIB= c dvdnav 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>