Lines 1-6
Link Here
|
1 |
PORTNAME= expat |
1 |
PORTNAME= expat |
2 |
DISTVERSION= 2.5.0 |
2 |
DISTVERSION= 2.6.0 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= textproc |
3 |
CATEGORIES= textproc |
5 |
MASTER_SITES= https://github.com/libexpat/libexpat/releases/download/R_${DISTVERSION:S|.|_|g}/ |
4 |
MASTER_SITES= https://github.com/libexpat/libexpat/releases/download/R_${DISTVERSION:S|.|_|g}/ |
6 |
|
5 |
|
Lines 14-26
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
14 |
TEST_DEPENDS= bash:shells/bash |
13 |
TEST_DEPENDS= bash:shells/bash |
15 |
|
14 |
|
16 |
USES= cpe libtool pathfix python:test tar:xz |
15 |
USES= cpe libtool pathfix python:test tar:xz |
17 |
USE_LDCONFIG= yes |
|
|
18 |
GNU_CONFIGURE= yes |
19 |
CPE_VENDOR= libexpat_project |
16 |
CPE_VENDOR= libexpat_project |
20 |
CPE_PRODUCT= libexpat |
17 |
CPE_PRODUCT= libexpat |
|
|
18 |
USE_LDCONFIG= yes |
19 |
GNU_CONFIGURE= yes |
21 |
|
20 |
|
22 |
CONFIGURE_ARGS= --without-docbook --without-examples |
|
|
23 |
INSTALL_TARGET= install-strip |
21 |
INSTALL_TARGET= install-strip |
|
|
22 |
TEST_TARGET= check |
23 |
|
24 |
PLIST_SUB= EXPAT_VERSION=${DISTVERSION} |
25 |
|
26 |
CONFIGURE_ARGS= --without-docbook \ |
27 |
--without-examples |
24 |
|
28 |
|
25 |
OPTIONS_DEFINE= DOCS STATIC TEST |
29 |
OPTIONS_DEFINE= DOCS STATIC TEST |
26 |
OPTIONS_SUB= yes |
30 |
OPTIONS_SUB= yes |
Lines 30-40
STATIC_CONFIGURE_ENABLE= static
Link Here
|
30 |
TEST_USES= shebangfix |
34 |
TEST_USES= shebangfix |
31 |
SHEBANG_FILES= test-driver-wrapper.sh tests/udiffer.py tests/xmltest.sh |
35 |
SHEBANG_FILES= test-driver-wrapper.sh tests/udiffer.py tests/xmltest.sh |
32 |
TEST_CONFIGURE_WITH= tests |
36 |
TEST_CONFIGURE_WITH= tests |
33 |
TEST_TARGET= check |
|
|
34 |
|
35 |
PLIST_SUB= EXPAT_VERSION=${DISTVERSION} |
36 |
|
37 |
|
37 |
post-install: |
38 |
post-install: |
38 |
${INSTALL_MAN} ${WRKSRC}/doc/xmlwf.1 ${STAGEDIR}${PREFIX}/share/man/man1/ |
39 |
${MV} ${STAGEDIR}${PREFIX}/man/man1/xmlwf.1 ${STAGEDIR}${PREFIX}/share/man/man1/ |
39 |
|
40 |
|
40 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |