Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= bmf |
4 |
PORTNAME= bmf |
5 |
PORTVERSION= 0.9.4 |
5 |
PORTVERSION= 0.84 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= mail |
6 |
CATEGORIES= mail |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
9 |
|
8 |
|
Lines 14-21
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
14 |
|
16 |
HAS_CONFIGURE= yes |
15 |
HAS_CONFIGURE= yes |
|
|
16 |
ALL_TARGET= apps |
17 |
|
17 |
|
18 |
OPTIONS_DEFINE= BDB MYSQL DEBUG DOCS |
18 |
OPTIONS_DEFINE= BDB DEBUG DOCS MYSQL |
19 |
OPTIONS_DEFAULT=BDB |
19 |
OPTIONS_DEFAULT=BDB |
20 |
|
20 |
|
21 |
BDB_USES= bdb |
21 |
BDB_USES= bdb |
Lines 26-44
Link Here
|
26 |
|
26 |
|
27 |
DEBUG_CONFIGURE_ON= --debug=yes |
27 |
DEBUG_CONFIGURE_ON= --debug=yes |
28 |
|
28 |
|
29 |
MYSQL_USE= MYSQL=client |
29 |
MYSQL_BUILD_DEPENDS= mysql80-client>0:databases/mysql80-client |
30 |
MYSQL_CONFIGURE_WITH= mysql |
30 |
MYSQL_CONFIGURE_WITH= mysql |
|
|
31 |
MYSQL_VARS= MAKE_ARGS=CFLAGS+="-I${WRKSRC} -I${LOCALBASE}/include" \ |
32 |
LDFLAGS+=-L${LOCALBASE}/lib/mysql |
31 |
|
33 |
|
32 |
post-patch: |
34 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's|@@CC|${CC}|;s|@@CXX|${CXX}|' ${WRKSRC}/configure |
35 |
@${REINPLACE_CMD} -e 's|@@CC|${CC}|;s|@@CXX|${CXX}|' ${WRKSRC}/configure |
34 |
@${REINPLACE_CMD} -e 's/: checkroot/: /g' ${WRKSRC}/Makefile.in |
|
|
35 |
|
36 |
|
36 |
post-install: |
37 |
do-install: |
37 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bmf |
38 |
(cd ${WRKSRC} ; ${INSTALL_PROGRAM} bmf bmfconv ${STAGEDIR}${PREFIX}/bin) |
38 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bmfconv |
|
|
39 |
|
39 |
|
40 |
post-install-DOCS-on: |
40 |
do-install-DOCS-on: |
41 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
41 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} |
43 |
|
43 |
|
|
|
44 |
post-install: |
45 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bmf ${STAGEDIR}${PREFIX}/bin/bmfconv |
46 |
|
44 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |