# $NetBSD: Makefile,v 1.23 2011/02/28 14:52:57 wiz Exp $ # # 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. DISTNAME= libdvdcss-1.2.10 CATEGORIES= multimedia MASTER_SITES= ${LIBDVDCSS_MASTER_SITES}/${DISTNAME:S/libdvdcss-//}/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= ${LIBDVDCSS_HOMEPAGE} COMMENT= Simple library designed for accessing DVDs # XXX missing LICENSE= libdvdcss-license 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} PKG_DESTDIR_SUPPORT= user-destdir PKGCONFIG_OVERRIDE= src/libdvdcss.pc.in GNU_CONFIGURE= YES USE_LIBTOOL= YES USE_TOOLS+= gmake CONFIGURE_ENV+= ac_cv_path_DOXYGEN=no CONFIGURE_ENV+= ac_cv_path_LATEX=no .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 .include "../../mk/bsd.pkg.mk"