diff options
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/kmenc15/Makefile | 46 | ||||
-rw-r--r-- | multimedia/kmenc15/distinfo | 2 | ||||
-rw-r--r-- | multimedia/kmenc15/files/patch-Makefile | 24 | ||||
-rw-r--r-- | multimedia/kmenc15/pkg-descr | 11 |
5 files changed, 84 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 7f2986b8e9a2..6bda53cc323d 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -49,6 +49,7 @@ SUBDIR += kdemultimedia3 SUBDIR += kino SUBDIR += kino-dvtitler + SUBDIR += kmenc15 SUBDIR += kmplayer SUBDIR += konverter SUBDIR += kplayer diff --git a/multimedia/kmenc15/Makefile b/multimedia/kmenc15/Makefile new file mode 100644 index 000000000000..588605930d0c --- /dev/null +++ b/multimedia/kmenc15/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: kmenc15 +# Date created: Wed Dec 15 17:32:21 UTC 2004 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= kmenc15 +PORTVERSION= 0.02 +CATEGORIES= multimedia kde +MASTER_SITES= http://dividedsky.net/~ods15/kmenc15/ + +MAINTAINER= lioux@FreeBSD.org +COMMENT= KDE advanced MEncoder frontend, ala, VirtualDub + +BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \ + sox:${PORTSDIR}/audio/sox \ + yuvtoppm:${PORTSDIR}/graphics/netpbm + +USE_BZIP2= yes +USE_KDELIBS_VER=3 +USE_GMAKE= yes +USE_REINPLACE= yes + +PLIST_FILES= bin/${PORTNAME} + +post-patch: +# FreeBSD uses sed(1) -E -e instead of sed(1) -r + @${REINPLACE_CMD} -E \ + -e 's|sed -r|${SED} -E -e|' \ + ${BUILD_WRKSRC}/${MAKEFILE} \ + ${WRKSRC}/dialog.cpp + +do-configure: +# CXX{,FLAGS} safeness +# PTHREAD_{CFLAGS,LIBS} safeness + @${REINPLACE_CMD} -E \ + -e 's|^(CPP[[:space:]]*=).*$$|\1${CXX}|' \ + -e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CXXFLAGS} ${PTHREAD_CFLAGS}|' \ + -e 's|^(BFLAGS.*)$$|\1 ${PTHREAD_LIBS}|' \ + ${BUILD_WRKSRC}/${MAKEFILE} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/multimedia/kmenc15/distinfo b/multimedia/kmenc15/distinfo new file mode 100644 index 000000000000..89aed9e147a5 --- /dev/null +++ b/multimedia/kmenc15/distinfo @@ -0,0 +1,2 @@ +MD5 (kmenc15-0.02.tar.bz2) = eca10e4af80ff011f8c8b1c7fb783f19 +SIZE (kmenc15-0.02.tar.bz2) = 173624 diff --git a/multimedia/kmenc15/files/patch-Makefile b/multimedia/kmenc15/files/patch-Makefile new file mode 100644 index 000000000000..e76d5cf60486 --- /dev/null +++ b/multimedia/kmenc15/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Sun Oct 24 09:18:38 2004 ++++ Makefile Wed Dec 15 16:45:54 2004 +@@ -54,7 +54,6 @@ + + + PROG = ${PRGNAME}-$(shell grep 'char version' main.cpp -m 1 | sed -r 's/^.*"(.*)".*$$/\1/') +-DRFLAGS= $(shell test -f DEBUGMODE && echo ${DFLAGS} || echo ${RFLAGS} ) + + GZFILE = ${PROG}.tar.gz + BZFILE = ${PROG}.tar.bz2 +@@ -104,11 +103,11 @@ + else + images.cpp: images.diff ${DATA} ${IMAGES} + ${QEMBED} ${DATA} --images ${IMAGES} > $@ +- $(if $(wildcard $<),patch -s --no-backup-if-mismatch < $<) ++ $(if $(wildcard $<),patch -s < $<) + endif + %.cpp: %.diff %.ui %.h %.moc + ${UIC} ${UFLAGS} -impl $*.h -o $@ $*.ui +- $(if $(wildcard $<),patch -s --no-backup-if-mismatch < $<) ++ $(if $(wildcard $<),patch -s < $<) + %.moc: %.h ; ${MOC} -o $@ $< + %.h: %.ui ; ${UIC} -o $@ $< + %.diff: ; @true diff --git a/multimedia/kmenc15/pkg-descr b/multimedia/kmenc15/pkg-descr new file mode 100644 index 000000000000..966e379cd155 --- /dev/null +++ b/multimedia/kmenc15/pkg-descr @@ -0,0 +1,11 @@ +[ excerpt from developer's web site ] + +Kmenc15 is an advanced MEncoder frontend, generally designed to be +a VirtualDub replacement for Linux. It is most useful for editing +and encoding large high quality AVIs capped from TV. It allows +cutting and merging at exact frames, applying any MPlayer/MEncoder +filter, with preview. + +WWW: http://www.kde-apps.org/content/show.php?content=16439 + +-- lioux@FreeBSD.org |