aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdv/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-04 20:44:23 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-04 20:44:23 +0000
commit58aac43ebcf2ffad6b29f08e9fa257567b6d9265 (patch)
treed0d3418a6c06a5e0e943322d946952569c209bb9 /multimedia/libdv/Makefile
parentfa5a43b10d158ff2110f31b521458ab390d76423 (diff)
downloadports-58aac43ebcf2ffad6b29f08e9fa257567b6d9265.tar.gz
ports-58aac43ebcf2ffad6b29f08e9fa257567b6d9265.zip
Notes
Diffstat (limited to 'multimedia/libdv/Makefile')
-rw-r--r--multimedia/libdv/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile
index 2f9e3c12e5db..f04ee36b0352 100644
--- a/multimedia/libdv/Makefile
+++ b/multimedia/libdv/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= libdv
-PORTVERSION= 0.9.5
-PORTREVISION= 1
+PORTVERSION= 0.9.8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= libdv-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= lioux@FreeBSD.org
@@ -61,20 +61,23 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -E \
- -e 's|(pkgconfigdir =).+(/pkgconfig)|\1 ${LOCALBASE}/libdata\2|' \
+ -e 's|(pkgconfigdir =).+(/pkgconfig)|\1 ${PREFIX}/libdata\2|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|(-lXv)|\1 -lXext -L${X11BASE}/lib|; \
s@(PKG_CONFIG --(cflags|libs) )"\$$REQUIRES"@\1 gtk@' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
${WRKSRC}/libdv/dv_types.h \
+ ${WRKSRC}/libdv/headers.c \
${WRKSRC}/libdv/encode.c
@${REINPLACE_CMD} -E -e 's|^void swab.+$$||' ${WRKSRC}/libdv/encode.c
- @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/playdv/display.h
+ @${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/playdv/display.h
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/encodedv/dvavi.c \
${WRKSRC}/encodedv/dvconnect.c
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
- ${WRKSRC}/encodedv/Makefile.in
+# XXX - revise at every port update
+# protect popt from prefix changes
+ @${REINPLACE_CMD} -E -e 's|(@REQUIRES_NOPKGCONFIG@)|-L${LOCALBASE}/include \1|' \
+ ${WRKSRC}/libdv.pc.in
post-install:
.ifndef(NOPORTDOCS)