36087e6cfd
This caused my bulk build to fail (before building) when it was building list of dependencies, because multimedia/mmg/Makefile included ../../multimedia/mkvtoolnix/Makefile.dist and also depended on ../../multimedia/mkvtoolnix/. And multimedia/mkvtoolnix/Makefile also included ../../multimedia/mkvtoolnix/Makefile.dist. The bulk build error was like: ----> Depending in /home/jreed/pkgsrc/multimedia/mmg (pass #1) ----> Depending in ../../multimedia/mkvtoolnix/ (pass #2) ... ----> Depending in ../../multimedia/mkvtoolnix/ (pass #24) ERROR: You have reached 25 times through the dependency tree and _still_ not finished. This is probably due to a broken set of dependencies. You may wish to examine the partial database left in /home/jreed/pkgsrc/.bulk_db.foo Removing the trailing slash from the DEPENDS fixed this problem for me.
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2005/03/30 20:15:12 reed Exp $
|
|
#
|
|
|
|
.include "../../multimedia/mkvtoolnix/Makefile.dist"
|
|
PKGNAME= ${DISTNAME:S/mkvtoolnix/mmg/}
|
|
|
|
MAINTAINER= salo@NetBSD.org
|
|
HOMEPAGE= http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html
|
|
COMMENT= MKVtoolnix mkvmerge GUI
|
|
|
|
DEPENDS+= ${DISTNAME}:../../multimedia/mkvtoolnix
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_LANGUAGES= c++
|
|
USE_X11= yes
|
|
|
|
BUILD_TARGET= src/mmg/mmg
|
|
|
|
SUBST_CLASSES= man help
|
|
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_FILES.man= doc/mmg.1
|
|
SUBST_SED.man= 's,(doc/,(${PREFIX}/share/doc/html/mmg/,g'
|
|
SUBST_MESSAGE.man= "Fixing paths in manual page."
|
|
|
|
SUBST_STAGE.help= pre-configure
|
|
SUBST_FILES.help= src/mmg/mmg.cpp
|
|
SUBST_SED.help= 's,@HELPDIR@,${PREFIX}/share/doc/html/mmg,'
|
|
SUBST_MESSAGE.help= "Fixing path to help data."
|
|
|
|
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/html/mmg/images/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/images/*.gif \
|
|
${PREFIX}/share/doc/html/mmg/images/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mkvmerge-gui.* \
|
|
${PREFIX}/share/doc/html/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"
|