blob: 5b0544adb0ad3cfa51054146ca39bfb7c285a8aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= dvdbackup
PORTVERSION= 0.4.2
PORTREVISION= 7
CATEGORIES= sysutils multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Backup content from DVD to hard disk
LICENSE= GPLv3
LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
GNU_CONFIGURE= yes
USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= NEWS README
DEFAULT_DVD_DEVICE?= /dev/cd0
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} "s|/dev/dvd|${DEFAULT_DVD_DEVICE}|g" \
${WRKSRC}/src/main.c ${WRKSRC}/po/*.po ${WRKSRC}/po/*.pot \
${WRKSRC}/README ${WRKSRC}/man/dvdbackup.1
pre-configure-DOCS-off:
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: |' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|