diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-15 18:48:15 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-15 18:48:15 +0000 |
commit | e59be8137cd5a6eb50c139e4c876dd59aa5b8aa2 (patch) | |
tree | 18fe41f1b0b65e4259d4ae4f871edfcfe0abb883 /multimedia/kmenc15 | |
parent | 2b6c4cf4af1fcc240196b3f58b0cc0497ab43f01 (diff) | |
download | ports-e59be8137cd5a6eb50c139e4c876dd59aa5b8aa2.tar.gz ports-e59be8137cd5a6eb50c139e4c876dd59aa5b8aa2.zip |
Notes
Diffstat (limited to 'multimedia/kmenc15')
-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 |
4 files changed, 83 insertions, 0 deletions
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 |