Line 0
Link Here
|
|
|
1 |
# Created by: kamikaze@bsdforen.de |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= libbdplus |
5 |
PORTVERSION= 0.1.1 |
6 |
CATEGORIES= multimedia |
7 |
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \ |
8 |
http://blu.opsec.eu/ |
9 |
|
10 |
MAINTAINER= kamikaze@bsdforen.de |
11 |
COMMENT= BD+ System research implementation |
12 |
|
13 |
LICENSE= LGPL21 |
14 |
|
15 |
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ |
16 |
libgpg-error.so:${PORTSDIR}/security/libgpg-error |
17 |
|
18 |
USE_LDCONFIG= yes |
19 |
USE_AUTOTOOLS= autoconf aclocal automake libtool |
20 |
USES= tar:bzip2 pkgconfig |
21 |
|
22 |
HAS_CONFIGURE= yes |
23 |
CONFIGURE_ARGS+= --prefix="${PREFIX}" \ |
24 |
--without-libaacs |
25 |
MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ |
26 |
CFLAGS=${CFLAGS:Q} |
27 |
|
28 |
.include <bsd.port.pre.mk> |
29 |
|
30 |
# Strange compiler bug that only seems to affect 10-Release |
31 |
.if ${OSVERSION} >= 1000000 && ${OSVERSION} < 1000705 |
32 |
USE_GCC= any |
33 |
.endif |
34 |
|
35 |
run-autotools: |
36 |
@cd ${WRKSRC} && ${SH} bootstrap |
37 |
|
38 |
plist: stage |
39 |
@${ECHO} "===> Rebuilding PLIST." |
40 |
@${MTREE_CMD} -cp "${STAGEDIR}${PREFIX}/" > "${WRKDIR}/plist.mtree" |
41 |
@${MTREE_CMD} -Sf "${WRKDIR}/plist.mtree" -f "${MTREE_FILE}" \ |
42 |
| ${SED} -ne '/share\/licenses/b dirs' \ |
43 |
-e '/ dir /{s/ .*//;s/^/@dirrm /;H;};t dirs' \ |
44 |
-e 's/ .*//p;:dirs' -e '$${g;s/^\n//p;}' > ${PLIST} |
45 |
|
46 |
.include <bsd.port.post.mk> |