2007-09-16 03:24:28 +00:00
|
|
|
COMMENT= DVD ripper
|
2005-11-03 07:46:02 +00:00
|
|
|
|
|
|
|
DISTNAME= dvdbackup-0.1.1
|
2010-10-24 21:40:38 +00:00
|
|
|
REVISION= 3
|
2005-11-03 07:46:02 +00:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
|
|
|
HOMEPAGE= http://dvd-create.sourceforge.net/
|
|
|
|
|
|
|
|
# GPL
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2005-11-03 07:46:02 +00:00
|
|
|
|
|
|
|
MASTER_SITES= http://dvd-create.sourceforge.net/
|
|
|
|
|
2010-11-19 07:23:05 +00:00
|
|
|
LIB_DEPENDS= multimedia/libdvdnav
|
2010-10-24 21:40:38 +00:00
|
|
|
WANTLIB= c dvdnav dvdread pthread
|
2005-11-03 07:46:02 +00:00
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2005-11-03 07:46:02 +00:00
|
|
|
|
|
|
|
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 \
|
2017-10-11 15:21:44 +00:00
|
|
|
dvdbackup.o -ldvdnav -ldvdread -pthread
|
2005-11-03 07:46:02 +00:00
|
|
|
|
|
|
|
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>
|