diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-10-26 16:48:27 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-10-26 16:48:27 +0000 |
commit | 26b59ab9437f79fb136dc650fda431bc8c9456f5 (patch) | |
tree | 1aa35b7e42e894af793ed326919cd3f045a082bf /sysutils/vobcopy/Makefile | |
parent | 3e449925f7ffc2e6d187b9aa49e86c28f008e771 (diff) | |
download | ports-26b59ab9437f79fb136dc650fda431bc8c9456f5.tar.gz ports-26b59ab9437f79fb136dc650fda431bc8c9456f5.zip |
Notes
Diffstat (limited to 'sysutils/vobcopy/Makefile')
-rw-r--r-- | sysutils/vobcopy/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile index 1670abb310c3..65b1369c7aa9 100644 --- a/sysutils/vobcopy/Makefile +++ b/sysutils/vobcopy/Makefile @@ -6,14 +6,17 @@ # PORTNAME= vobcopy -PORTVERSION= 0.4.3 +PORTVERSION= 0.5.3 CATEGORIES= sysutils -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= lin-prog-newbie +MASTER_SITES= http://lpn.rnbhq.org/download/ MAINTAINER= lioux@FreeBSD.org -LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread +LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread \ + gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +HAS_CONFIGURE= yes +USE_REINPLACE= yes ALL_TARGET= ${PORTNAME} @@ -23,13 +26,14 @@ 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|; \ + @${REINPLACE_CMD} -E -e 's|(fopen\("/etc/)mtab|\1fstab|; \ s|iso9660|cd9660|' ${WRKSRC}/dvd.c +post-configure: + @${REINPLACE_CMD} -E -e 's|^CC.+||; s|^PREFIX.+||; \ + s|/usr/local/|${LOCALBASE}/|' \ + ${WRKSRC}/Makefile + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${PREFIX}/bin/vobcopy @${INSTALL_MAN} ${WRKSRC}/vobcopy.1 ${MANPREFIX}/man/man1/vobcopy.1 |