2003-05-19 08:43:57 +00:00
|
|
|
# New ports collection makefile for: libebml
|
|
|
|
# Date created: Mon May 19 08:29:44 UTC 2003
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libebml
|
2005-05-29 01:39:24 +00:00
|
|
|
PORTVERSION= 0.7.4
|
2003-05-19 08:43:57 +00:00
|
|
|
CATEGORIES= textproc
|
2004-06-23 16:06:00 +00:00
|
|
|
MASTER_SITES= http://dl.matroska.org/downloads/libebml/ \
|
2004-08-23 23:11:03 +00:00
|
|
|
http://www.bunkus.org/videotools/mkvtoolnix/sources/old/
|
2003-05-19 08:43:57 +00:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
COMMENT= EBML (Extensible Binary Meta Language), sort of binary version of XML
|
|
|
|
|
2004-06-23 16:06:00 +00:00
|
|
|
USE_BZIP2= yes
|
2003-05-19 08:43:57 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/make/linux
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/make/linux
|
2005-05-29 01:39:24 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-05-19 08:43:57 +00:00
|
|
|
|
|
|
|
# Installs dir with proper permissions
|
|
|
|
INSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
|
|
|
|
|
2005-05-29 01:39:24 +00:00
|
|
|
PLIST_FILES+= \
|
|
|
|
lib/libebml.so \
|
|
|
|
lib/libebml.so.0
|
|
|
|
|
2003-05-19 08:43:57 +00:00
|
|
|
do-configure:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e 's|^(prefix)[[:space:]]*=.*$$|\1=${PREFIX}|; \
|
|
|
|
s,^(CXX|LD)[[:space:]]*=.*$$,\1=${CXX},; \
|
|
|
|
s|^(CXXFLAGS)[[:space:]]*=(.*)$$|\1+=\2|; \
|
|
|
|
s|^(INSTALL)[[:space:]]*=.*$$|\1=|; \
|
|
|
|
s|^(INSTALL_DIR_OPTS)[[:space:]]*=.*$$|\1=${INSTALL_DATA_DIR}|; \
|
|
|
|
s,^(INSTALL_OPTS_LIB|INSTALL_OPTS)[[:space:]]*=.*$$,\1=${INSTALL_DATA},' \
|
|
|
|
${WRKSRC}/make/linux/Makefile
|
|
|
|
|
2003-05-23 03:55:31 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-14 10:22:53 +00:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
CFLAGS+= -DNO_WSTRING
|
|
|
|
.endif
|
|
|
|
|
2003-05-23 03:55:31 +00:00
|
|
|
.include <bsd.port.post.mk>
|