diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-05-18 08:47:45 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-05-18 08:47:45 +0800 |
commit | ce2b68800200cdec6142a253bcfc6ddfada9aaa8 (patch) | |
tree | 2e3e7ff97de7433aa6a5b4b20fec01b146efb09b /multimedia/kmenc15 | |
parent | 00618117ebacf4eeab34ec046701001f1fc8fda2 (diff) | |
download | freebsd-ports-gnome-ce2b68800200cdec6142a253bcfc6ddfada9aaa8.tar.gz freebsd-ports-gnome-ce2b68800200cdec6142a253bcfc6ddfada9aaa8.tar.zst freebsd-ports-gnome-ce2b68800200cdec6142a253bcfc6ddfada9aaa8.zip |
Update to 0.04
PR: ports/81125
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'multimedia/kmenc15')
-rw-r--r-- | multimedia/kmenc15/Makefile | 34 | ||||
-rw-r--r-- | multimedia/kmenc15/distinfo | 4 | ||||
-rw-r--r-- | multimedia/kmenc15/files/patch-Makefile | 24 |
3 files changed, 14 insertions, 48 deletions
diff --git a/multimedia/kmenc15/Makefile b/multimedia/kmenc15/Makefile index 39c523ef9b7e..fda9cdd7fa8d 100644 --- a/multimedia/kmenc15/Makefile +++ b/multimedia/kmenc15/Makefile @@ -6,42 +6,32 @@ # PORTNAME= kmenc15 -PORTVERSION= 0.02 -PORTREVISION= 1 +PORTVERSION= 0.04 CATEGORIES= multimedia kde MASTER_SITES= http://dividedsky.net/~ods15/kmenc15/ MAINTAINER= ports@FreeBSD.org COMMENT= KDE advanced MEncoder frontend, ala, VirtualDub -BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \ - sox:${PORTSDIR}/audio/sox \ - yuvtoppm:${PORTSDIR}/graphics/netpbm +RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer USE_BZIP2= yes -USE_KDELIBS_VER=3 -USE_GMAKE= yes +USE_KDELIBS_VER= 3 USE_REINPLACE= yes +USE_GMAKE= yes +MAKE_ARGS= QTDIR="${QT_PREFIX}" \ + KDEDIR="${KDE_PREFIX}" \ + CPP="${CXX}" \ + CFLAGS="${PTHREAD_LIBS}" \ + CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \ + VERSION="${PORTVERSION}" 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} + @${REINPLACE_CMD} -e 's|--no-backup-if-mismatch||g' ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin .include <bsd.port.mk> diff --git a/multimedia/kmenc15/distinfo b/multimedia/kmenc15/distinfo index 89aed9e147a5..38f69a7fb66f 100644 --- a/multimedia/kmenc15/distinfo +++ b/multimedia/kmenc15/distinfo @@ -1,2 +1,2 @@ -MD5 (kmenc15-0.02.tar.bz2) = eca10e4af80ff011f8c8b1c7fb783f19 -SIZE (kmenc15-0.02.tar.bz2) = 173624 +MD5 (kmenc15-0.04.tar.bz2) = 64e46a32cd055516b9d82f60836eefcb +SIZE (kmenc15-0.04.tar.bz2) = 177358 diff --git a/multimedia/kmenc15/files/patch-Makefile b/multimedia/kmenc15/files/patch-Makefile deleted file mode 100644 index e76d5cf60486..000000000000 --- a/multimedia/kmenc15/files/patch-Makefile +++ /dev/null @@ -1,24 +0,0 @@ ---- 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 |