View | Details | Raw Unified | Return to bug 125506 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +10 lines)
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}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cppunit-1.12.0.tar.gz) = 7493718733ded49a96cf763c5d3eea7f
1
MD5 (cppunit-1.12.1.tar.gz) = bd30e9cf5523cdfc019b94f5e1d7fd19
2
SHA256 (cppunit-1.12.0.tar.gz) = 98a5c38cbcad916aea4dbd8fb42a41bc16174e42426d949127292adf4af7fe1f
2
SHA256 (cppunit-1.12.1.tar.gz) = ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
3
SIZE (cppunit-1.12.0.tar.gz) = 760409
3
SIZE (cppunit-1.12.1.tar.gz) = 762803
(-)pkg-plist (-1 / +5 lines)
Lines 1-9 Link Here
1
bin/DllPlugInTester
1
bin/DllPlugInTester
2
bin/cppunit-config
2
bin/cppunit-config
3
lib/libcppunit-1.12.so
3
lib/libcppunit-1.12.so
4
lib/libcppunit-1.12.so.0
4
lib/libcppunit-1.12.so.1
5
lib/libcppunit.a
5
lib/libcppunit.a
6
lib/libcppunit.la
6
lib/libcppunit.la
7
lib/libcppunit.so
7
lib/libcppunit.so
8
libdata/pkgconfig/cppunit.pc
8
libdata/pkgconfig/cppunit.pc
9
share/aclocal/cppunit.m4
9
share/aclocal/cppunit.m4
10
%%PORTDOCS%%%%DOCSDIR%%/FAQ
11
%%PORTDOCS%%%%DOCSDIR%%/NEWS
12
%%PORTDOCS%%%%DOCSDIR%%/README
13
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)files/patch-config::ltmain.sh (-3 / +3 lines)
Lines 1-6 Link Here
1
--- config/ltmain.sh.orig	Wed Jul  7 16:52:56 2004
1
--- config/ltmain.sh.orig	2008-07-11 18:31:19.000000000 +0800
2
+++ config/ltmain.sh	Wed Jul  7 16:53:13 2004
2
+++ config/ltmain.sh	2008-07-11 18:32:49.000000000 +0800
3
@@ -5425,10 +5425,12 @@
3
@@ -6092,10 +6092,12 @@
4
 	fi
4
 	fi
5
 
5
 
6
 	# Install the pseudo-library for information purposes.
6
 	# Install the pseudo-library for information purposes.
(-)files/patch-doc::Makefile.in (-6 / +22 lines)
Lines 1-11 Link Here
1
--- doc/Makefile.in.orig	Wed Jul  7 16:33:12 2004
1
--- doc/Makefile.in.orig	2008-02-20 00:59:51.000000000 -0500
2
+++ doc/Makefile.in	Wed Jul  7 16:34:27 2004
2
+++ doc/Makefile.in	2008-07-11 13:11:05.000000000 -0400
3
@@ -161,7 +161,7 @@
3
@@ -179,7 +179,7 @@
4
 # and an extra copy or two in the install-data-hook.  
4
 # and an extra copy or two in the install-data-hook.  
5
 # However, the manpages do not appear to be tremendously useful, so
5
 # However, the manpages do not appear to be tremendously useful, so
6
 # let's not bother.
6
 # let's not bother.
7
-@DOC_TRUE@htmldir = $(pkgdatadir)/html
7
-@DOC_TRUE@htmldir = $(pkgdatadir)/html
8
+@DOC_TRUE@htmldir = $(prefix)/share/doc/cppunit
8
+@DOC_TRUE@htmldir = $(prefix)/share/doc/cppunit
9
 @DOC_TRUE@html_DATA = $(static_pages) html/index.html
9
 htmldir = @htmldir@
10
 subdir = doc
10
 includedir = @includedir@
11
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
11
 infodir = @infodir@
12
@@ -248,6 +248,7 @@
13
 	-rm -rf .libs _libs
14
 install-htmlDATA: $(html_DATA)
15
 	@$(NORMAL_INSTALL)
16
+.if !defined(NOPORTDOCS)
17
 	test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
18
 	@list='$(html_DATA)'; for p in $$list; do \
19
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
20
@@ -255,6 +256,7 @@
21
 	  echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
22
 	  $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
23
 	done
24
+.endif
25
 
26
 uninstall-htmlDATA:
27
 	@$(NORMAL_UNINSTALL)

Return to bug 125506