2011-11-16 20:52:25 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2011/11/16 19:52:25 drochner Exp $
|
2004-01-28 15:25:37 +01:00
|
|
|
#
|
2005-10-01 10:03:32 +02:00
|
|
|
# In order to ensure compliance with U.S. and international law, please
|
|
|
|
# do not modify this file to provide pointers to the source or homepage
|
|
|
|
# for this software or submit any PRs telling us the contents of the
|
|
|
|
# HOMEPAGE or MASTER_SITES definitions in this Makefile.
|
2004-01-28 15:25:37 +01:00
|
|
|
|
2011-11-16 20:52:25 +01:00
|
|
|
DISTNAME= libdvdcss-1.2.11
|
2004-01-28 15:25:37 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${LIBDVDCSS_MASTER_SITES}/${DISTNAME:S/libdvdcss-//}/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-01-28 15:25:37 +01:00
|
|
|
HOMEPAGE= ${LIBDVDCSS_HOMEPAGE}
|
|
|
|
COMMENT= Simple library designed for accessing DVDs
|
2008-09-12 15:57:20 +02:00
|
|
|
# XXX missing
|
|
|
|
LICENSE= libdvdcss-license
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2004-01-28 15:25:37 +01:00
|
|
|
RESTRICTED= Legal problems due to CSS code
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
|
2009-05-19 10:59:00 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PKGCONFIG_OVERRIDE= src/libdvdcss.pc.in
|
|
|
|
|
2007-07-20 13:53:27 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
2008-09-06 16:37:05 +02:00
|
|
|
USE_TOOLS+= gmake
|
2008-06-21 15:09:09 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_DOXYGEN=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_LATEX=no
|
2007-07-20 13:53:27 +02:00
|
|
|
|
2007-07-20 13:49:32 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(LIBDVDCSS_MASTER_SITES)
|
|
|
|
PKG_FAIL_REASON+= "Please define LIBDVDCSS_MASTER_SITES in mk.conf."
|
|
|
|
PKG_FAIL_REASON+= "Alternatively you may download '${DISTNAME}${EXTRACT_SUFX}' manually"
|
|
|
|
PKG_FAIL_REASON+= "to ${DISTDIR}."
|
|
|
|
.endif
|
2005-10-11 18:47:44 +02:00
|
|
|
|
2004-01-28 15:25:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|