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

Collapse All | Expand All

(-)textproc/chpp/Makefile (-9 / +29 lines)
Lines 7-43 Link Here
7
7
8
PORTNAME=	chpp
8
PORTNAME=	chpp
9
PORTVERSION=	0.3.5
9
PORTVERSION=	0.3.5
10
PORTREVISION=	1
10
CATEGORIES=	textproc
11
CATEGORIES=	textproc
11
MASTER_SITES=	http://www.complang.tuwien.ac.at/~schani/chpp/files/ \
12
MASTER_SITES=	http://www.complang.tuwien.ac.at/schani/chpp/files/ \
12
		http://freebsd.nsu.ru/distfiles/
13
		http://freebsd.nsu.ru/distfiles/
13
14
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Non-intrusive full-featured text preprocessor
16
COMMENT=	Non-intrusive full-featured text preprocessor
16
17
18
LICENSE=	GPLv2
19
20
LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc
21
22
USE_GMAKE=	yes
17
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--libdir=${PREFIX}/share
24
CONFIGURE_ARGS=	--libdir=${PREFIX}/share
25
MAKE_JOBS_SAFE=	yes
26
27
CPPFLAGS+=	-I${LOCALBASE}/include
28
LDFLAGS+=	-L${LOCALBASE}/lib
19
29
20
INFO=		chpp
30
INFO=		chpp
21
31
22
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
23
33
24
.if ${ARCH} != "i386"
34
.if ${ARCH} != "i386" && ${ARCH} != "amd64"
25
BROKEN=		Does not compile
35
BROKEN=		Does not compile
26
.endif
36
.endif
27
37
38
post-extract:
39
	@${RM} -f ${WRKSRC}/gc/gc.h
40
41
post-patch:
42
	@${REINPLACE_CMD} -e \
43
		'/LDADD/s|gc/gc.a|-lgc| ; \
44
		 /LIBOBJS/s|gc/gc.a|| ; \
45
		 s|gc/gc.h||' ${WRKSRC}/Makefile.in
46
	@${REINPLACE_CMD} -e \
47
		's|../gc/gc.h||' ${WRKSRC}/builtins/Makefile.in
48
	@${REINPLACE_CMD} -e \
49
		's|../../gc/gc.h||' ${WRKSRC}/builtins/database/Makefile.in
50
28
post-install:
51
post-install:
29
.if !defined(NOPORTEXAMPLES)
30
	@${MKDIR} ${EXAMPLESDIR}
31
	${TAR} -C ${WRKSRC}/test -cf - . | \
32
		${TAR} -C ${EXAMPLESDIR} --unlink -xf -
33
	@${FIND} ${EXAMPLESDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
34
	@${FIND} ${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
35
.endif
36
.if !defined(NOPORTDOCS)
52
.if !defined(NOPORTDOCS)
37
	@${MKDIR} ${DOCSDIR}
53
	@${MKDIR} ${DOCSDIR}
38
.for file in AUTHORS NEWS README
54
.for file in AUTHORS NEWS README
39
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
55
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
40
.endfor
56
.endfor
41
.endif
57
.endif
58
.if !defined(NOPORTEXAMPLES)
59
	@${MKDIR} ${EXAMPLESDIR}
60
	@(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
61
.endif
42
62
43
.include <bsd.port.post.mk>
63
.include <bsd.port.post.mk>
(-)textproc/chpp/files/patch-ab (-24 lines)
Lines 1-24 Link Here
1
--- Makefile.in.orig	Tue Feb  9 23:02:50 1999
2
+++ Makefile.in	Tue Jul  4 04:03:19 2000
3
@@ -471,10 +471,10 @@
4
 
5
 
6
 gc/gc.a :
7
-	( cd gc ; make gc.a )
8
+	( cd gc ; $(MAKE) gc.a )
9
 
10
 dist-hook :
11
-	( cd gc ; make clean )
12
+	( cd gc ; $(MAKE) clean )
13
 	cp -dR gc $(distdir)
14
 	rm -rf `find $(distdir)/gc -name CVS`
15
 	mkdir $(distdir)/test
16
@@ -484,7 +484,7 @@
17
 	rm -rf `find $(distdir)/test -name CVS`
18
 
19
 clean-gc :
20
-	( cd gc ; make clean )
21
+	( cd gc ; $(MAKE) clean )
22
 
23
 clean : clean-gc
24
 
(-)textproc/chpp/pkg-descr (-1 / +1 lines)
Lines 17-20 Link Here
17
     namely lists and hashes (associative arrays), which can be nested
17
     namely lists and hashes (associative arrays), which can be nested
18
     arbitrarily.
18
     arbitrarily.
19
19
20
WWW: http://www.complang.tuwien.ac.at/~schani/chpp/
20
WWW: http://www.complang.tuwien.ac.at/schani/chpp/

Return to bug 168046