Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= squashfs-tools |
4 |
PORTNAME= squashfs-tools |
5 |
PORTVERSION= 4.3 |
5 |
PORTVERSION= 4.4 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= SF/squashfs/squashfs/${DISTNAME}/ |
7 |
MASTER_SITES= GH |
9 |
DISTNAME= squashfs${PORTVERSION} |
8 |
DISTNAME= squashfs${PORTVERSION} |
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
9 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
11 |
|
10 |
|
Lines 16-21
LICENSE= GPLv2
Link Here
|
16 |
LICENSE_FILE= ${WRKSRC}/../COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/../COPYING |
17 |
|
16 |
|
18 |
USES= alias cpe gmake |
17 |
USES= alias cpe gmake |
|
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= plougher |
20 |
WRKSRC_SUBDIR= ${PORTNAME} |
19 |
|
21 |
|
20 |
PLIST_FILES= bin/mksquashfs \ |
22 |
PLIST_FILES= bin/mksquashfs \ |
21 |
bin/unsquashfs |
23 |
bin/unsquashfs |
Lines 26-33
XZ_DESC= Build with XZ support
Link Here
|
26 |
LZO_DESC= Build with LZO support |
28 |
LZO_DESC= Build with LZO support |
27 |
LZMA_DESC= Build with LZMA support |
29 |
LZMA_DESC= Build with LZMA support |
28 |
|
30 |
|
29 |
WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools |
|
|
30 |
|
31 |
CPE_PRODUCT= squashfs |
31 |
CPE_PRODUCT= squashfs |
32 |
CPE_VENDOR= phillip_lougher |
32 |
CPE_VENDOR= phillip_lougher |
33 |
|
33 |
|
Lines 38-52
CFLAGS+= -fcommon
Link Here
|
38 |
|
38 |
|
39 |
.include <bsd.port.options.mk> |
39 |
.include <bsd.port.options.mk> |
40 |
|
40 |
|
41 |
PORTDOCS= ACKNOWLEDGEMENTS CHANGES COPYING \ |
41 |
PORTDOCS= CHANGES PERFORMANCE.README README |
42 |
PERFORMANCE.README README README-${PORTVERSION} |
|
|
43 |
|
42 |
|
44 |
.if ${PORT_OPTIONS:MXZ} |
43 |
.if ${PORT_OPTIONS:MXZ} |
45 |
MAKE_ARGS+= XZ_SUPPORT=1 |
44 |
MAKE_ARGS+= XZ_SUPPORT=1 |
46 |
.endif |
45 |
.endif |
47 |
|
46 |
|
48 |
.if ${PORT_OPTIONS:MLZO} |
47 |
.if ${PORT_OPTIONS:MLZO} |
49 |
MAKE_ARGS+= LZO_SUPPORT=1 LZO_DIR=${LOCALBASE} |
48 |
MAKE_ARGS+= LZO_SUPPORT=1 LZO_LIBDIR=-L${LOCALBASE}/lib EXTRA_CFLAGS="-I${LOCALBASE}/lib" |
50 |
LIB_DEPENDS+= liblzo2.so:archivers/lzo2 |
49 |
LIB_DEPENDS+= liblzo2.so:archivers/lzo2 |
51 |
.endif |
50 |
.endif |
52 |
|
51 |
|
Lines 60-67
post-patch:
Link Here
|
60 |
@${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ |
59 |
@${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ |
61 |
${WRKSRC}/Makefile |
60 |
${WRKSRC}/Makefile |
62 |
|
61 |
|
|
|
62 |
do-install: |
63 |
${INSTALL_PROGRAM} ${WRKSRC}/mksquashfs ${STAGEDIR}${PREFIX}/bin/ |
64 |
${INSTALL_PROGRAM} ${WRKSRC}/unsquashfs ${STAGEDIR}${PREFIX}/bin/ |
65 |
|
63 |
post-install: |
66 |
post-install: |
64 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
67 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
65 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC:H}/|} ${STAGEDIR}${DOCSDIR} |
68 |
${INSTALL_DATA} ${WRKSRC:H}/README ${WRKSRC:H}/CHANGES \ |
|
|
69 |
${WRKSRC:H}/RELEASE-READMEs/PERFORMANCE.README \ |
70 |
${STAGEDIR}${DOCSDIR} |
66 |
|
71 |
|
67 |
.include <bsd.port.mk> |
72 |
.include <bsd.port.mk> |