Lines 3-11
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= squashfs-tools |
4 |
PORTNAME= squashfs-tools |
5 |
PORTVERSION= 4.3 |
5 |
PORTVERSION= 4.3 |
|
|
6 |
PORTREVISON= 1 |
6 |
CATEGORIES= sysutils |
7 |
CATEGORIES= sysutils |
7 |
MASTER_SITES= SF/squashfs/squashfs/${DISTNAME}/ |
8 |
MASTER_SITES= SF/squashfs/squashfs/${DISTNAME}/ |
8 |
DISTNAME= squashfs${PORTVERSION} |
9 |
DISTNAME= squashfs${PORTVERSION} |
|
|
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
9 |
|
11 |
|
10 |
MAINTAINER= ashish@FreeBSD.org |
12 |
MAINTAINER= ashish@FreeBSD.org |
11 |
COMMENT= Set of tools to manipulate squashfs images |
13 |
COMMENT= Set of tools to manipulate squashfs images |
Lines 16-25
Link Here
|
16 |
PLIST_FILES= bin/mksquashfs \ |
18 |
PLIST_FILES= bin/mksquashfs \ |
17 |
bin/unsquashfs |
19 |
bin/unsquashfs |
18 |
|
20 |
|
19 |
OPTIONS_DEFINE= XZ LZO DOCS |
21 |
OPTIONS_DEFINE= XZ LZO LZMA DOCS |
20 |
OPTIONS_DEFAULT= XZ LZO |
22 |
OPTIONS_DEFAULT= XZ LZO LZMA |
21 |
XZ_DESC= Build with XZ support |
23 |
XZ_DESC= Build with XZ support |
22 |
LZO_DESC= Build with LZO support |
24 |
LZO_DESC= Build with LZO support |
|
|
25 |
LZMA_DESC= Build with LZMA support |
23 |
|
26 |
|
24 |
WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools |
27 |
WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools |
25 |
|
28 |
|
Lines 43-48
Link Here
|
43 |
LIB_DEPENDS+= liblzo2.so:archivers/lzo2 |
46 |
LIB_DEPENDS+= liblzo2.so:archivers/lzo2 |
44 |
.endif |
47 |
.endif |
45 |
|
48 |
|
|
|
49 |
.if ${PORT_OPTIONS:MLZMA} |
50 |
MASTER_SITES+= SF/sevenzip/LZMA%20SDK/:lzma |
51 |
DISTFILES+= lzma922.tar.bz2:lzma |
52 |
MAKE_ARGS+= LZMA_SUPPORT=1 LZMA_DIR=${WRKDIR} EXTRA_CFLAGS="-D_7ZIP_ST" |
53 |
.endif |
54 |
|
46 |
post-patch: |
55 |
post-patch: |
47 |
@${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ |
56 |
@${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ |
48 |
${WRKSRC}/Makefile |
57 |
${WRKSRC}/Makefile |