789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: libdvdcss
|
|
# Date created: Jul 6, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdvdcss
|
|
PORTVERSION= 1.2.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://download.videolan.org/pub/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= jpaetzel@FreeBSD.org
|
|
COMMENT= Portable abstraction library for DVD decryption
|
|
|
|
NO_CDROM= CSS code may violate the DMCA
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
.ifndef(WITH_DOXYGEN)
|
|
NOPORTDOCS= yes
|
|
.endif
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_DOXYGEN)
|
|
@${ECHO_MSG} '==> Define WITH_DOXYGEN to build API documentation'
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
|
|
${REINPLACE_CMD} -e '/^pkgconfigdir/s|$$(libdir)|$$(libdir)data|' \
|
|
${WRKSRC}/src/Makefile.in
|
|
# should we disable doc building?
|
|
.ifdef(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|^([[:space:]]*SUBDIRS[[:space:]]*=.*)doc|\1|' \
|
|
${BUILD_WRKSRC}/Makefile.in
|
|
.else
|
|
# we do not want the latex documents... too many dependencies just
|
|
# to get in ps what we already have in html
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|^([[:space:]]*all:[[:space:]]*.*)stamp-latex|\1|' \
|
|
${BUILD_WRKSRC}/doc/Makefile.in
|
|
.endif
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/html/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|