aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vobcopy/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-12 13:33:09 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-12 13:33:09 +0000
commit7f6e0978292fb8320222485cfd8e0818b52642d1 (patch)
treedca36da7ce8379f2e60f51b5dd5cd9687c155069 /sysutils/vobcopy/Makefile
parent088c6628d4d8b5d8843806ccc63e97db6774cdea (diff)
downloadports-7f6e0978292fb8320222485cfd8e0818b52642d1.tar.gz
ports-7f6e0978292fb8320222485cfd8e0818b52642d1.zip
Notes
Diffstat (limited to 'sysutils/vobcopy/Makefile')
-rw-r--r--sysutils/vobcopy/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
new file mode 100644
index 000000000000..1670abb310c3
--- /dev/null
+++ b/sysutils/vobcopy/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: VOB dvd rip
+# Date created: Sun May 12 09:25:37 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vobcopy
+PORTVERSION= 0.4.3
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lin-prog-newbie
+
+MAINTAINER= lioux@FreeBSD.org
+
+LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread
+
+ALL_TARGET= ${PORTNAME}
+
+MAN1= vobcopy.1
+
+DOC_FILES= COPYING Changelog README Release-Notes \
+ alternative_programs.txt
+
+post-patch:
+ @${PERL} -pi.orig -e 's|^CC.+||; s|^PREFIX.+||; \
+ s|/usr/local/|${LOCALBASE}/|; \
+ s|-D_LARGEFILE\d?\d?_SOURCE||g; \
+ s|-D_FILE_OFFSET_BITS=64||' ${WRKSRC}/Makefile
+ @${PERL} -pi.orig -e 's|(fopen\("/etc/)mtab|\1fstab|; \
+ s|iso9660|cd9660|' ${WRKSRC}/dvd.c
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${PREFIX}/bin/vobcopy
+ @${INSTALL_MAN} ${WRKSRC}/vobcopy.1 ${MANPREFIX}/man/man1/vobcopy.1
+.ifndef(PORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>