[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / mmg

File: [cvs.NetBSD.org] / pkgsrc / multimedia / mmg / Attic / Makefile (download)

Revision 1.19, Sun Feb 5 23:10:17 2006 UTC (18 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.18: +3 -3 lines

Recursive revision bump / recommended bump for gettext ABI change.

# $NetBSD: Makefile,v 1.19 2006/02/05 23:10:17 joerg Exp $
#

.include "../../multimedia/mkvtoolnix/Makefile.dist"
PKGNAME=        ${DISTNAME:S/mkvtoolnix/mmg/}
PKGREVISION=	2

MAINTAINER=	salo@NetBSD.org
HOMEPAGE=	http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html
COMMENT=        MKVtoolnix mkvmerge GUI

DEPENDS+=	${DISTNAME}nb2:../../multimedia/mkvtoolnix

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake
USE_LANGUAGES=	c++

BUILD_TARGET=	src/mmg/mmg

CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/doc

SUBST_CLASSES+=		man
SUBST_STAGE.man=	pre-configure
SUBST_FILES.man=	doc/mmg.1
SUBST_SED.man=		's,(doc/,(${PREFIX}/share/doc/mmg/,g'
SUBST_MESSAGE.man=	"Fixing paths in manual page."

INSTALLATION_DIRS=	bin man/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/mmg/mmg ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/doc/mmg.1 ${PREFIX}/man/man1/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mmg/images/
	${INSTALL_DATA} ${WRKSRC}/doc/images/*.gif \
		${PREFIX}/share/doc/mmg/images/
	${INSTALL_DATA} ${WRKSRC}/doc/mkvmerge-gui.* \
		${PREFIX}/share/doc/mmg/

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libebml/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../multimedia/libmatroska/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/wxGTK/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"