Lines 5-11
Link Here
|
5 |
# $FreeBSD: ports/devel/cppunit/Makefile,v 1.8 2008/05/03 16:18:02 leeym Exp $ |
5 |
# $FreeBSD: ports/devel/cppunit/Makefile,v 1.8 2008/05/03 16:18:02 leeym Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= cppunit |
7 |
PORTNAME= cppunit |
8 |
PORTVERSION= 1.12.0 |
8 |
PORTVERSION= 1.12.1 |
9 |
CATEGORIES= devel |
9 |
CATEGORIES= devel |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
11 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 20-46
Link Here
|
20 |
.if defined(WITH_DOXYGEN) |
20 |
.if defined(WITH_DOXYGEN) |
21 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen |
21 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen |
22 |
CONFIGURE_ARGS+= --enable-doc --enable-doxygen --enable-html-docs |
22 |
CONFIGURE_ARGS+= --enable-doc --enable-doxygen --enable-html-docs |
23 |
PORTDOCS= * |
|
|
24 |
.else |
23 |
.else |
25 |
CONFIGURE_ARGS+= --disable-doc --disable-doxygen |
24 |
CONFIGURE_ARGS+= --disable-doc --disable-doxygen |
26 |
.endif |
25 |
.endif |
27 |
|
26 |
|
28 |
.if !defined(NOPORTDOCS) |
|
|
29 |
PORTDOCS= * |
30 |
.endif |
31 |
|
32 |
MAN1= cppunit-config.1 |
27 |
MAN1= cppunit-config.1 |
33 |
#MANCOMPRESSED= no |
28 |
#MANCOMPRESSED= no |
34 |
|
29 |
|
|
|
30 |
.if defined(NOPORTDOCS) |
31 |
PLIST_SUB+= PORTDOCS="@comment " |
32 |
.else |
33 |
PLIST_SUB+= PORTDOCS="" |
34 |
.endif |
35 |
|
35 |
pre-everything:: |
36 |
pre-everything:: |
36 |
.if !defined(WITH_DOXYGEN) && !defined(NOPORTDOCS) |
37 |
.if !defined(WITH_DOXYGEN) |
37 |
@${ECHO_MSG} |
38 |
@${ECHO_MSG} |
38 |
@${ECHO_MSG} You could define WITH_DOXYGEN if you want HTML documentation |
39 |
@${ECHO_MSG} You could define WITH_DOXYGEN if you want HTML documentation |
39 |
@${ECHO_MSG} |
40 |
@${ECHO_MSG} |
40 |
.endif |
41 |
.endif |
41 |
|
42 |
|
42 |
post-patch: |
43 |
post-patch: |
43 |
${REINPLACE_CMD} -Ee "s,^(pkgconfigdatadir).*,\1 = ${LOCALBASE}/libdata/pkgconfig," \ |
44 |
@${REINPLACE_CMD} -Ee "s,^(pkgconfigdatadir).*,\1 = ${LOCALBASE}/libdata/pkgconfig," \ |
44 |
${WRKSRC}/Makefile.in |
45 |
${WRKSRC}/Makefile.in |
45 |
|
46 |
|
46 |
post-install: |
47 |
post-install: |
Lines 49-55
Link Here
|
49 |
@${FIND} ${PREFIX}/include/cppunit -type d | ${SORT} -r | \ |
50 |
@${FIND} ${PREFIX}/include/cppunit -type d | ${SORT} -r | \ |
50 |
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
51 |
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
51 |
.if !defined(NOPORTDOCS) |
52 |
.if !defined(NOPORTDOCS) |
52 |
@${MKDIR} ${DOCSDIR} |
53 |
# ${DOCSDIR} is created by doc/Makefile already. |
53 |
${INSTALL_MAN} ${WRKSRC}/doc/FAQ ${DOCSDIR} |
54 |
${INSTALL_MAN} ${WRKSRC}/doc/FAQ ${DOCSDIR} |
54 |
${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR} |
55 |
${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR} |
55 |
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} |
56 |
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} |