Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 21:53:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311402 - in head/devel/libcheck: . files
Message-ID:  <201302012153.r11LrlOa079092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb  1 21:53:46 2013
New Revision: 311402
URL: http://svnweb.freebsd.org/changeset/ports/311402

Log:
  - Update to 0.9.9
  - Cleanup Makefile header
  
  Changes:	http://sourceforge.net/projects/check/files/check/0.9.9/NEWS-README-0.9.9.txt/view

Deleted:
  head/devel/libcheck/files/patch-Makefile.in
  head/devel/libcheck/files/patch-doc-Makefile.in
Modified:
  head/devel/libcheck/Makefile   (contents, props changed)
  head/devel/libcheck/distinfo   (contents, props changed)
  head/devel/libcheck/pkg-plist   (contents, props changed)

Modified: head/devel/libcheck/Makefile
==============================================================================
--- head/devel/libcheck/Makefile	Fri Feb  1 21:33:12 2013	(r311401)
+++ head/devel/libcheck/Makefile	Fri Feb  1 21:53:46 2013	(r311402)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	libcheck
-# Date created:		December 4, 2003
-# Whom:			mikeh@FreeBSD.org
-#
+# Created by: mikeh@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	libcheck
-PORTVERSION=	0.9.8
+PORTVERSION=	0.9.9
 CATEGORIES=	devel
 MASTER_SITES=	SF/check/check/${PORTVERSION}
 DISTNAME=	check-${PORTVERSION}
@@ -14,31 +10,40 @@ DISTNAME=	check-${PORTVERSION}
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	A unit test framework for C
 
+LICENSE=	LGPL21
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+#CONFIGURE_ARGS=	--docdir=${DOCSDIR}
 GNU_CONFIGURE=	yes
-PLIST_SUB=	CHECK_VERSION=${PORTVERSION}
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/check-${PORTVERSION}
-EXAMPLESDIR=	${PREFIX}/share/examples/check-${PORTVERSION}
+#DOCSDIR=	${PREFIX}/share/doc/check
+#EXAMPLESDIR=	${PREFIX}/share/examples/check
 INFO=		check
+MAN1=		checkmk.1
 
 .include <bsd.port.options.mk>
 
 post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
 	@${REINPLACE_CMD} \
-		-e '/^install-data-am:/ s/ install-docDATA//' \
-		${WRKSRC}/Makefile.in
+		-e 's|COPYING.LESSER||' \
+		-e '/^docdir = / s|$$(PACKAGE)|${PORTNAME}|' \
+		-e '/^pcdatadir = / s|(libdir)/pkgconfig|(exec_prefix)/libdata/pkgconfig|' \
+			${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} \
+		-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \
+		-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
+			${WRKSRC}/doc/Makefile.in
+.if empty(PORT_OPTIONS:MDOCS)
+	@${REINPLACE_CMD} -e '/^install-data-am:/ s| install-docDATA||' ${WRKSRC}/Makefile.in
 .endif
 .if empty(PORT_OPTIONS:MEXAMPLES)
 	@${REINPLACE_CMD} \
-		-e '/^install-data-am:/ s/ install-exampleDATA//' \
-		-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
-		-e '/install-exampletestsDATA/ s/install-exampletestsDATA//' \
-		${WRKSRC}/doc/Makefile.in
+		-e '/^install-data-am:/ s| install-exampleDATA install-examplesrcDATA||' \
+		-e 's|install-exampletestsDATA ||' \
+			${WRKSRC}/doc/Makefile.in
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/libcheck/distinfo
==============================================================================
--- head/devel/libcheck/distinfo	Fri Feb  1 21:33:12 2013	(r311401)
+++ head/devel/libcheck/distinfo	Fri Feb  1 21:53:46 2013	(r311402)
@@ -1,2 +1,2 @@
-SHA256 (check-0.9.8.tar.gz) = 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f
-SIZE (check-0.9.8.tar.gz) = 558943
+SHA256 (check-0.9.9.tar.gz) = 1a7a9abb9d051e1b9da4149ce651436a29e20135a40bdb202bd7b2bef3878ac9
+SIZE (check-0.9.9.tar.gz) = 602679

Modified: head/devel/libcheck/pkg-plist
==============================================================================
--- head/devel/libcheck/pkg-plist	Fri Feb  1 21:33:12 2013	(r311401)
+++ head/devel/libcheck/pkg-plist	Fri Feb  1 21:53:46 2013	(r311402)
@@ -1,3 +1,4 @@
+bin/checkmk
 include/check.h
 lib/libcheck.a
 lib/libcheck.la



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302012153.r11LrlOa079092>