View | Details | Raw Unified | Return to bug 161652
Collapse All | Expand All

(-)devel/dotconf/Makefile (-10 / +24 lines)
Lines 7-36 Link Here
7
#
7
#
8
8
9
PORTNAME=	dotconf
9
PORTNAME=	dotconf
10
PORTVERSION=	1.1.0
10
PORTVERSION=	1.3
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	http://www.azzit.de/dotconf/download/v1.1/
12
MASTER_SITES=	GENTOO/distfiles
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A simple, powerful configuration-file parser
15
COMMENT=	A simple, powerful configuration-file parser
16
16
17
USE_AUTOTOOLS=	libtool
17
LICENSE=	LGPL21 # (or later)
18
LICENSE_FILE=	${WRKSRC}/COPYING
19
18
USE_GNOME=	gnomehack pkgconfig
20
USE_GNOME=	gnomehack pkgconfig
19
GNU_CONFIGURE=	yes
21
USE_AUTOTOOLS=	libtool
20
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
21
23
22
pre-patch:
24
PORTDOCS=	*
23
	@${REINPLACE_CMD} -e 's|-Wall -g||' ${WRKSRC}/configure
25
PORTEXAMPLES=	*
24
	@${REINPLACE_CMD} -e 's|-release $(LT_RELEASE)||' ${WRKSRC}/src/Makefile.in
26
PLIST_FILES=	include/dotconf.h \
27
		lib/libdotconf.a \
28
		lib/libdotconf.la \
29
		lib/libdotconf.so \
30
		lib/libdotconf.so.0 \
31
		libdata/pkgconfig/dotconf.pc
32
33
post-patch:
34
	@${REINPLACE_CMD} -e \
35
		'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
25
36
26
post-install:
37
post-install:
27
.if !defined(NOPORTDOCS)
38
.if !defined(NOPORTDOCS)
28
	@${MKDIR} ${DOCSDIR}
39
	@${MKDIR} ${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
40
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
41
.endif
42
.if !defined(NOPORTEXAMPLES)
30
	@${MKDIR} ${EXAMPLESDIR}
43
	@${MKDIR} ${EXAMPLESDIR}
31
	${TAR} -C ${WRKSRC}/examples  -cf - . | \
44
.for ex in README argdouble caseinsensitive context duplicates errorhandler \
32
		${TAR} -C ${EXAMPLESDIR} --unlink -xf -
45
	fallback libpool maketest.sh modules noinline simple
33
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
46
	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${ex} ${EXAMPLESDIR})
47
.endfor
34
.endif
48
.endif
35
49
36
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)devel/dotconf/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dotconf-1.1.0.tar.gz) = 84e2a0f2ddfcc5b4692a02cc9c5708d8dcb24205d9482cc016733fe297597806
1
SHA256 (dotconf-1.3.tar.gz) = b0bccd7251df50b68b82888c5f9fa7932bd68ee3b9e880bce9456e692bf13e8e
2
SIZE (dotconf-1.1.0.tar.gz) = 199548
2
SIZE (dotconf-1.3.tar.gz) = 333301
(-)devel/dotconf/files/patch-ltmain.sh (-25 lines)
Lines 1-25 Link Here
1
--- ltmain.sh.orig	Thu Jul 26 18:28:06 2001
2
+++ ltmain.sh	Sun Jan 27 23:19:36 2002
3
@@ -2408,6 +2408,9 @@
4
 	  *-*-netbsd*)
5
 	    # Don't link with libc until the a.out ld.so is fixed.
6
 	    ;;
7
+	  *-*-freebsd*)
8
+	    # FreeBSD doesn't need this...
9
+	    ;;
10
 	  *)
11
 	    # Add libc to deplibs on all other systems if necessary.
12
 	    if test $build_libtool_need_lc = "yes"; then
13
@@ -4175,10 +4178,12 @@
14
 	fi
15
 
16
 	# Install the pseudo-library for information purposes.
17
+	if /usr/bin/false; then
18
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19
 	instname="$dir/$name"i
20
 	$show "$install_prog $instname $destdir/$name"
21
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
22
+	fi
23
 
24
 	# Maybe install the static library, too.
25
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)devel/dotconf/pkg-descr (-1 / +1 lines)
Lines 11-14 Link Here
11
To keep dotconf from printing out warnings, you can install your
11
To keep dotconf from printing out warnings, you can install your
12
own customized error handler.
12
own customized error handler.
13
13
14
WWW: http://www.azzit.de/dotconf/
14
WWW: http://github.com/williamh/dotconf
(-)devel/dotconf/pkg-plist (-83 lines)
Lines 1-83 Link Here
1
@comment $FreeBSD: ports/devel/dotconf/pkg-plist,v 1.12 2007/01/28 09:07:37 kris Exp $
2
bin/dotconf-config
3
include/dotconf.h
4
include/libpool.h
5
lib/libdotconf.a
6
lib/libdotconf.la
7
lib/libdotconf.so
8
lib/libdotconf.so.0
9
libdata/pkgconfig/dotconf.pc
10
lib/libpool.a
11
share/aclocal/dotconf.m4
12
%%PORTDOCS%%%%DOCSDIR%%/dotconf-api.txt
13
%%PORTDOCS%%%%DOCSDIR%%/dotconf-features.txt
14
%%PORTDOCS%%%%EXAMPLESDIR%%/README
15
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/Makefile
16
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/argdouble.conf
17
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/example_argdouble.dsp
18
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/output
19
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/testoutput
20
%%PORTDOCS%%%%EXAMPLESDIR%%/argdouble/argdouble.c
21
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/Makefile
22
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/caseinsensitive.c
23
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/caseinsensitive.conf
24
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/example_caseinsensitive.dsp
25
%%PORTDOCS%%%%EXAMPLESDIR%%/context/Makefile
26
%%PORTDOCS%%%%EXAMPLESDIR%%/context/context.c
27
%%PORTDOCS%%%%EXAMPLESDIR%%/context/context.conf
28
%%PORTDOCS%%%%EXAMPLESDIR%%/context/example_context.dsp
29
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/Makefile
30
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/errorhandler.c
31
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/errorhandler.conf
32
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/example_errorhandler.dsp
33
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/Makefile
34
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/include.conf
35
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/module.c
36
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/my_module.c
37
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/sample.conf
38
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/example_modules.dsp
39
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/Makefile
40
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/included.conf
41
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/linecat.conf
42
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/simple.c
43
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/simple.conf
44
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/example_simple.dsp
45
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/Makefile
46
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/duplicate.c
47
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/first_module.c
48
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/sample.conf
49
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/second_module.c
50
%%PORTDOCS%%%%EXAMPLESDIR%%/fallback/Makefile
51
%%PORTDOCS%%%%EXAMPLESDIR%%/fallback/fallback.conf
52
%%PORTDOCS%%%%EXAMPLESDIR%%/fallback/fallback.c
53
%%PORTDOCS%%%%EXAMPLESDIR%%/noinline/Makefile
54
%%PORTDOCS%%%%EXAMPLESDIR%%/noinline/noinline.conf
55
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/output
56
%%PORTDOCS%%%%EXAMPLESDIR%%/caseinsensitive/testoutput
57
%%PORTDOCS%%%%EXAMPLESDIR%%/context/output
58
%%PORTDOCS%%%%EXAMPLESDIR%%/context/testoutput
59
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/output
60
%%PORTDOCS%%%%EXAMPLESDIR%%/errorhandler/testoutput
61
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/output
62
%%PORTDOCS%%%%EXAMPLESDIR%%/modules/testoutput
63
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/output
64
%%PORTDOCS%%%%EXAMPLESDIR%%/simple/testoutput
65
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/output
66
%%PORTDOCS%%%%EXAMPLESDIR%%/duplicates/testoutput
67
%%PORTDOCS%%%%EXAMPLESDIR%%/fallback/output
68
%%PORTDOCS%%%%EXAMPLESDIR%%/fallback/testoutput
69
%%PORTDOCS%%%%EXAMPLESDIR%%/noinline/noinline.c
70
%%PORTDOCS%%%%EXAMPLESDIR%%/noinline/output
71
%%PORTDOCS%%%%EXAMPLESDIR%%/noinline/testoutput
72
%%PORTDOCS%%%%EXAMPLESDIR%%/maketest.sh
73
%%PORTDOCS%%@dirrm share/doc/dotconf
74
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/argdouble
75
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/context
76
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/errorhandler
77
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/noinline
78
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/fallback
79
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/modules
80
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/simple
81
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/duplicates
82
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/caseinsensitive
83
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%

Return to bug 161652