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

(-)./Makefile (-8 / +6 lines)
Lines 1-11 Link Here
1
# $FreeBSD: head/devel/bisoncpp/Makefile 350447 2014-04-07 10:12:44Z sunpoet $
1
# $FreeBSD: head/devel/bisoncpp/Makefile 350447 2014-04-07 10:12:44Z sunpoet $
2
2
3
PORTNAME=	bisoncpp
3
PORTNAME=	bisoncpp
4
PORTVERSION=	4.08.00
4
PORTVERSION=	4.09.01
5
CATEGORIES=	devel
5
CATEGORIES=	devel
6
MASTER_SITES=	SF/${PORTNAME}/bisonc%2B%2B/${PORTVERSION}
6
MASTER_SITES=	SF/${PORTNAME}/bisonc%2B%2B/${PORTVERSION}
7
DISTNAME=	bisonc++_${PORTVERSION}
7
DISTNAME=	bisonc++_${PORTVERSION}.orig
8
EXTRACT_SUFX=	.orig.tar.gz
9
8
10
MAINTAINER=	5u623l20@gmail.com
9
MAINTAINER=	5u623l20@gmail.com
11
COMMENT=	LALR(1) parser generator that generates C++ classes
10
COMMENT=	LALR(1) parser generator that generates C++ classes
Lines 16-28 Link Here
16
		yodl>=3.0:${PORTSDIR}/textproc/yodl \
15
		yodl>=3.0:${PORTSDIR}/textproc/yodl \
17
		libbobcat>=3.18:${PORTSDIR}/devel/libbobcat
16
		libbobcat>=3.18:${PORTSDIR}/devel/libbobcat
18
17
19
DOCSDIR=	${PREFIX}/share/doc/bisonc++-${PORTVERSION}
18
DOCSDIR=	${PREFIX}/share/doc/bisonc++
20
PORTDOCS=	*
19
PORTDOCS=	*
21
20
22
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
23
24
WRKSRC=		${WRKDIR}/bisonc++-${PORTVERSION}
21
WRKSRC=		${WRKDIR}/bisonc++-${PORTVERSION}
25
22
23
#PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
24
26
USE_GCC=	yes
25
USE_GCC=	yes
27
26
28
USES=		shebangfix
27
USES=		shebangfix
Lines 44-51 Link Here
44
		scanner/driver/build
43
		scanner/driver/build
45
44
46
post-patch:
45
post-patch:
47
	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g; \
46
	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
48
		s|%%PORTVERSION%%|${PORTVERSION}|g' \
49
		${WRKSRC}/INSTALL.im
47
		${WRKSRC}/INSTALL.im
50
	@${REINPLACE_CMD} 's|"g++|"${CXX}|' \
48
	@${REINPLACE_CMD} 's|"g++|"${CXX}|' \
51
		${WRKSRC}/INSTALL.im \
49
		${WRKSRC}/INSTALL.im \
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (bisonc++_4.08.00.orig.tar.gz) = 39fd079d252867f6e2a38e2ef46d8aeb02ebf71e8d515249703d6d7c641a48b5
1
SHA256 (bisonc++_4.09.01.orig.tar.gz) = 447cb90975251e4b6de51ccafe637184859f1ea4ad38ddb3b5988eebda42603c
2
SIZE (bisonc++_4.08.00.orig.tar.gz) = 667353
2
SIZE (bisonc++_4.09.01.orig.tar.gz) = 654635
(-)./files/patch-INSTALL.im (-4 / +4 lines)
Lines 5-11 Link Here
5
     // flags passed to the linker
5
     // flags passed to the linker
6
 
6
 
7
-#define SKEL    "/usr/share/bisonc++"
7
-#define SKEL    "/usr/share/bisonc++"
8
+#define SKEL    "%%PREFIX%%/share/"${PROGRAM}"-%%PORTVERSION%%"
8
+#define SKEL    "%%PREFIX%%/share/"${PROGRAM}
9
     // the directory where the skeleton files are installed
9
     // the directory where the skeleton files are installed
10
     // Recompile options/data.cc if the skeleton location changes
10
     // Recompile options/data.cc if the skeleton location changes
11
 
11
 
Lines 22-36 Link Here
22
     // the directory whre the manual page is stored
22
     // the directory whre the manual page is stored
23
 
23
 
24
-#define MANUAL   "/usr/share/doc/"${PROGRAM}"-doc/manual"
24
-#define MANUAL   "/usr/share/doc/"${PROGRAM}"-doc/manual"
25
+#define MANUAL   "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%/manual"
25
+#define MANUAL   "%%PREFIX%%/share/doc/"${PROGRAM}"/manual"
26
     // the directory whre the manual page is stored
26
     // the directory whre the manual page is stored
27
 
27
 
28
-#define STD     "/usr/share/doc/"${PROGRAM}
28
-#define STD     "/usr/share/doc/"${PROGRAM}
29
+#define STD     "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%"
29
+#define STD     "%%PREFIX%%/share/doc/"${PROGRAM}
30
     // the directory where the standard documentation is stored 
30
     // the directory where the standard documentation is stored 
31
 
31
 
32
-#define EXTRA   "/usr/share/doc/"${PROGRAM}"-doc"
32
-#define EXTRA   "/usr/share/doc/"${PROGRAM}"-doc"
33
+#define EXTRA   "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%"
33
+#define EXTRA   "%%PREFIX%%/share/doc/"${PROGRAM}
34
     // the directory where the extra documentation is stored 
34
     // the directory where the extra documentation is stored 
35
 
35
 
36
 
36
 
(-)./pkg-plist (-7 / +18 lines)
Lines 1-9 Link Here
1
bin/bisonc++
1
bin/bisonc++
2
man/man1/bisonc++.1.gz
2
man/man1/bisonc++.1.gz
3
share/bisonc++-%%PORTVERSION%%/bisonc++.cc
3
share/bisonc++/bisonc++.cc
4
share/bisonc++-%%PORTVERSION%%/bisonc++.h
4
share/bisonc++/bisonc++.h
5
share/bisonc++-%%PORTVERSION%%/bisonc++.ih
5
share/bisonc++/bisonc++.ih
6
share/bisonc++-%%PORTVERSION%%/bisonc++base.h
6
share/bisonc++/bisonc++base.h
7
share/bisonc++-%%PORTVERSION%%/bisonc++polymorphic
7
share/bisonc++/bisonc++polymorphic
8
share/bisonc++-%%PORTVERSION%%/bisonc++polymorphic.inline
8
share/bisonc++/bisonc++polymorphic.inline
9
@dirrm share/bisonc++-%%PORTVERSION%%
9
share/bisonc++/debugdecl.in
10
share/bisonc++/debugfunctions1.in
11
share/bisonc++/debugfunctions2.in
12
share/bisonc++/debugfunctions3.in
13
share/bisonc++/debugincludes.in
14
share/bisonc++/debuglookup.in
15
share/bisonc++/lex.in
16
share/bisonc++/ltype.in
17
share/bisonc++/ltypedata.in
18
share/bisonc++/print.in
19
share/bisonc++/threading.in
20
@dirrm share/bisonc++

Return to bug 189774