Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/sysutils/dar/Makefile 357486 2014-06-11 14:49:59Z tijl $ |
2 |
# $FreeBSD: head/sysutils/dar/Makefile 357486 2014-06-11 14:49:59Z tijl $ |
3 |
|
3 |
|
4 |
PORTNAME= dar |
4 |
PORTNAME= dar |
5 |
PORTVERSION= 2.4.12 |
5 |
PORTVERSION= 2.4.13 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= sysutils archivers |
6 |
CATEGORIES= sysutils archivers |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
9 |
|
8 |
|
Lines 12-30
Link Here
|
12 |
|
11 |
|
13 |
LICENSE= GPLv2 # (or later) |
12 |
LICENSE= GPLv2 # (or later) |
14 |
|
13 |
|
15 |
USES= pathfix shebangfix libtool |
14 |
USES= libtool pathfix shebangfix |
16 |
SHEBANG_FILES= doc/samples/dar_backup doc/samples/*.bash doc/samples/*.sh |
15 |
SHEBANG_FILES= doc/samples/dar_backup doc/samples/*.bash doc/samples/*.sh |
17 |
USE_GCC= any |
16 |
USE_GCC= any |
18 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ARGS= --datadir=${DATADIR} --disable-build-html \ |
18 |
CONFIGURE_ARGS= --datadir=${DATADIR} --disable-build-html \ |
20 |
--disable-upx --disable-libgcrypt-linking \ |
19 |
--disable-upx --disable-libgcrypt-linking \ |
21 |
--disable-ea-support --disable-nodump-flag \ |
20 |
--disable-ea-support --disable-nodump-flag \ |
22 |
--disable-gnugetopt |
21 |
--disable-gnugetopt --disable-dar-static |
23 |
INSTALL_TARGET= install-strip |
22 |
INSTALL_TARGET= install-strip |
24 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
25 |
|
24 |
|
26 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
LIBS+= -L${LOCALBASE}/lib |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
|
27 |
|
29 |
OPTIONS_DEFINE= DOCS LZO NLS |
28 |
OPTIONS_DEFINE= DOCS LZO NLS |
30 |
OPTIONS_SUB= yes |
29 |
OPTIONS_SUB= yes |
Lines 43-49
Link Here
|
43 |
|
42 |
|
44 |
post-patch: |
43 |
post-patch: |
45 |
@${REINPLACE_CMD} -e \ |
44 |
@${REINPLACE_CMD} -e \ |
46 |
'/LIBS/s|-lpthread|-pthread|' ${WRKSRC}/configure |
45 |
's|(char \*\*) \(\&inptr,\)|\1| ; \ |
|
|
46 |
/LIBS/s|-lpthread|-pthread|' ${WRKSRC}/configure |
47 |
@${FIND} ${WRKSRC}/doc -name "Makefile.in" | ${XARGS} \ |
47 |
@${FIND} ${WRKSRC}/doc -name "Makefile.in" | ${XARGS} \ |
48 |
${REINPLACE_CMD} -e \ |
48 |
${REINPLACE_CMD} -e \ |
49 |
's|$$(pkgdatadir)|$$(docdir)|g' |
49 |
's|$$(pkgdatadir)|$$(docdir)|g' |