2008-06-21 15:09:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2008/06/21 13:09:09 dsainty 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
|
|
|
|
2005-07-14 05:56:37 +02:00
|
|
|
DISTNAME= libdvdcss-1.2.9
|
2004-01-28 15:25:37 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${LIBDVDCSS_MASTER_SITES}/${DISTNAME:S/libdvdcss-//}/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
|
|
HOMEPAGE= ${LIBDVDCSS_HOMEPAGE}
|
|
|
|
COMMENT= Simple library designed for accessing DVDs
|
|
|
|
|
2006-11-03 07:46:21 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-28 15:25:37 +01:00
|
|
|
RESTRICTED= Legal problems due to CSS code
|
|
|
|
|
|
|
|
# no source because of the CSS source code in it
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
|
2007-07-20 13:53:27 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
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"
|