2011-01-13 14:36:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2011/01/13 13:39:20 wiz Exp $
|
2007-06-08 22:19:13 +02:00
|
|
|
#
|
|
|
|
|
2008-11-24 00:40:12 +01:00
|
|
|
DISTNAME= dvdisaster-0.70.6
|
2011-01-13 14:36:05 +01:00
|
|
|
PKGREVISION= 5
|
2007-06-08 22:19:13 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdisaster/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2009-01-04 15:08:14 +01:00
|
|
|
MAINTAINER= shattered@NetBSD.org
|
2007-06-08 22:19:13 +02:00
|
|
|
HOMEPAGE= http://www.dvdisaster.com/
|
|
|
|
COMMENT= Protects data on optical media with error correcting codes
|
|
|
|
|
2007-12-10 00:02:49 +01:00
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-*
|
|
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-*
|
|
|
|
|
2007-06-08 22:19:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= gettext-tools>=0.14:../../devel/gettext-tools
|
|
|
|
|
2008-11-24 00:40:12 +01:00
|
|
|
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
|
|
|
|
|
2007-12-10 00:02:49 +01:00
|
|
|
ONLY_FOR_COMPILER= gcc
|
2007-06-08 22:19:13 +02:00
|
|
|
USE_LANGUAGES= c
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_TOOLS+= bash gmake pkg-config
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2008-11-24 00:40:12 +01:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc
|
|
|
|
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
|
|
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
|
|
CONFIGURE_ARGS+= --buildroot=${DESTDIR}
|
2007-06-08 22:19:13 +02:00
|
|
|
CONFIGURE_ARGS+= --with-embedded-src-path=no
|
|
|
|
CONFIG_SHELL= ${TOOLS_PATH.bash}
|
|
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
|
|
|
|
post-install:
|
2008-11-24 00:40:12 +01:00
|
|
|
rm -f ${DESTDIR}${PREFIX}/bin/dvdisaster-uninstall.sh
|
2007-06-08 22:19:13 +02:00
|
|
|
|
2007-12-10 00:02:49 +01:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2007-06-08 22:19:13 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|