1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/multimedia/libdvdcss/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: libdvdcss
# Date created: Jul 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libdvdcss
PORTVERSION= 1.2.9
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
2002-04-18 16:30:22 +00:00
MAINTAINER= lioux@FreeBSD.org
2003-02-23 19:58:35 +00:00
COMMENT= Portable abstraction library for DVD decryption
NO_CDROM= CSS code may violate the DMCA
2003-02-08 00:11:21 +00:00
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
2002-08-27 18:21:14 +00:00
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.ifndef(NOPORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PORTDOCS= *
.endif
post-patch:
2002-08-27 18:21:14 +00:00
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
# 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 something in ps we already have get as 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
2002-04-16 22:19:44 +00:00
.include <bsd.port.mk>