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

Collapse All | Expand All

(-)./Makefile (-29 / +38 lines)
Lines 6-18 Link Here
6
#
6
#
7
7
8
PORTNAME=	barbecue
8
PORTNAME=	barbecue
9
PORTVERSION=	1.0.6d
9
DISTVERSION=	1.5-beta1
10
PORTREVISION=	4
11
CATEGORIES=	graphics print java
10
CATEGORIES=	graphics print java
12
MASTER_SITES=	SF
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/
12
DIST_SUBDIR=	java
13
13
14
MAINTAINER=	thierry@FreeBSD.org
14
MAINTAINER=	thierry@FreeBSD.org
15
COMMENT=	A Java barcode generator
15
COMMENT=	Java barcode generator
16
17
LICENSE=	BSD
16
18
17
RUN_DEPENDS=	${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom
19
RUN_DEPENDS=	${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom
18
20
Lines 20-59 Link Here
20
JAVA_VERSION=	1.5+
22
JAVA_VERSION=	1.5+
21
NO_BUILD=	yes
23
NO_BUILD=	yes
22
24
23
JARFILES=	${PORTNAME}-${PORTVERSION}.jar
25
JARFILES=	${PORTNAME}-${DISTVERSION}.jar
24
PLIST_FILES+=	%%JAVAJARDIR%%/${JARFILES:S|-${PORTVERSION}||}	\
25
		%%JAVAJARDIR%%/LICENSE.barbecue.txt
26
27
.if defined(WITH_TOMCAT55)
28
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
29
JAKARTA_HOME=	${LOCALBASE}/tomcat5.5
30
PLIST_FILES+=	${JAKARTA_HOME:S|^${LOCALBASE}/||}/webapps/${PORTNAME}.war
31
.endif
32
26
33
PORTDOCS=	*
27
PORTDOCS=	*
34
28
35
pre-everything::
29
OPTIONS_DEFINE=	TOMCAT6
36
.if !defined(WITH_TOMCAT55)
30
OPTIONS_DEFAULT=	TOMCAT6
37
	@${ECHO_MSG} '*********************************************************'
31
38
	@${ECHO_MSG} '* To use Barbecue as a servlet, define WITH_TOMCAT55.   *'
32
.include <bsd.port.options.mk>
39
	@${ECHO_MSG} '*********************************************************'
33
34
.if defined(WITH_TOMCAT6)
35
PLIST_SUB+=	TOMCAT6=""
36
.else
37
PLIST_SUB+=	TOMCAT6="@comment "
38
.endif
39
40
.if ${PORT_OPTIONS:MTOMCAT6}
41
BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
42
WEBAPPDIR=	${PREFIX}/apache-tomcat-6.0/webapps
40
.endif
43
.endif
41
44
42
post-extract:
45
post-extract:
43
	${MV} ${WRKSRC}/${JARFILES} ${WRKSRC}/${JARFILES:S|-${PORTVERSION}||}
46
	${MV} ${WRKSRC}/${JARFILES} ${WRKSRC}/${JARFILES:S|-${DISTVERSION}||}
47
	${MKDIR} ${WRKDIR}/${PORTNAME}
48
	${TAR} xf ${WRKSRC}/${PORTNAME}.war -C ${WRKDIR}/${PORTNAME}
44
49
45
do-install:
50
do-install:
46
	${INSTALL_DATA} ${JARFILES:S|-${PORTVERSION}||:S|^|${WRKSRC}/|} ${JAVAJARDIR}
51
	${INSTALL_DATA} ${JARFILES:S|-${DISTVERSION}||:S|^|${WRKSRC}/|} ${JAVAJARDIR}
47
	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${JAVAJARDIR}/LICENSE.barbecue.txt
52
48
.if defined(WITH_TOMCAT55)
53
.if ${PORT_OPTIONS:MTOMCAT6}
49
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.war ${JAKARTA_HOME}/webapps
54
	${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${WEBAPPDIR}/${PORTNAME}
55
	@(cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} \* ${WEBAPPDIR}/${PORTNAME})
50
.endif
56
.endif
51
.if !defined(NOPORTDOCS)
57
52
	@${MKDIR} ${DOCSDIR}
58
.if ${PORT_OPTIONS:MDOCS}
53
	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
59
	${MKDIR} ${DOCSDIR}
54
	@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
60
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
55
	@${CP} -R ${WRKSRC}/examples ${DOCSDIR}
61
	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR}
56
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
62
.endif
63
64
.if ${PORT_OPTIONS:MEXAMPLES}
65
	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
57
.endif
66
.endif
58
67
59
.include <bsd.port.mk>
68
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (barbecue-1.0.6d.tar.gz) = 48868ecde3570b9c9c62684199d8a5d1c4954ef78f16ad9d740756bfbb2189ae
1
SHA256 (java/barbecue-1.5-beta1.tar.gz) = 500421de383b2f0867fe039f22077c45850e7fe581608fb25bd3899b4a870a17
2
SIZE (barbecue-1.0.6d.tar.gz) = 421847
2
SIZE (java/barbecue-1.5-beta1.tar.gz) = 641262
(-)./pkg-plist (+95 lines)
Line 0 Link Here
1
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/META-INF/MANIFEST.MF
2
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/LICENSE.txt
3
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/META-INF/MANIFEST.MF
4
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/Barcode.class
5
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BarcodeException.class
6
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BarcodeFactory.class
7
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BarcodeImageHandler.class
8
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BarcodePortlet.class
9
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BarcodeServlet.class
10
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/BlankModule.class
11
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/CompositeModule.class
12
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/Main.class
13
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/Module.class
14
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/Modulo10.class
15
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/SeparatorModule.class
16
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env/DefaultEnvironment.class
17
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env/Environment.class
18
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env/EnvironmentFactory.class
19
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env/HeadlessEnvironment.class
20
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env/NonAWTEnvironment.class
21
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/formatter/BarcodeFormatter.class
22
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/formatter/FormattingException.class
23
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/formatter/SVGFormatter.class
24
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/LinearBarcode.class
25
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/codabar/CodabarBarcode.class
26
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/codabar/ModuleFactory.class
27
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/Accumulator.class
28
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/CharBuffer.class
29
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/Code128Barcode.class
30
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/CodeChangeModule.class
31
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/ModuleFactory.class
32
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128/ShiftModule.class
33
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code39/Code39Barcode.class
34
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code39/ModuleFactory.class
35
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/ean/BooklandBarcode.class
36
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/ean/EAN13Barcode.class
37
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/ean/EAN13ModuleFactory.class
38
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/ean/UCCEAN128Barcode.class
39
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/postnet/ModuleFactory.class
40
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/postnet/PostNetBarcode.class
41
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/postnet/PostNetModule.class
42
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/twoOfFive/Int2of5Barcode.class
43
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/twoOfFive/Int2of5ModuleFactory.class
44
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/twoOfFive/Std2of5Barcode.class
45
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/twoOfFive/Std2of5ModuleFactory.class
46
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/upc/ModuleFactory.class
47
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/upc/UPCABarcode.class
48
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/AbstractOutput.class
49
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/CenteredLabelLayout.class
50
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/DefaultLabelLayout.class
51
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/EPSOutput.class
52
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/GraphicsOutput.class
53
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/LabelLayout.class
54
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/LabelLayoutFactory.class
55
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/MarginLabelLayout.class
56
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/Output.class
57
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/OutputException.class
58
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/SVGOutput.class
59
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output/SizingOutput.class
60
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/twod/pdf417/PDF417Barcode.class
61
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/twod/pdf417/PDF417Data.class
62
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/twod/pdf417/PDF417Module.class
63
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/lib/jdom.jar
64
%%TOMCAT6%%apache-tomcat-6.0/webapps/barbecue/WEB-INF/web.xml
65
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Example.java
66
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PrintingExample.java
67
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/servlet-parameters.txt
68
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/using-the-servlet.txt
69
share/java/classes/barbecue.jar
70
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
71
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/lib
72
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/twod/pdf417
73
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/twod
74
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/postnet
75
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/output
76
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/upc
77
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/twoOfFive
78
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/postnet
79
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/ean
80
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code39
81
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/code128
82
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear/codabar
83
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/linear
84
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/formatter
85
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue/env
86
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge/barbecue
87
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net/sourceforge
88
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/net
89
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes/META-INF
90
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF/classes
91
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/WEB-INF
92
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue/META-INF
93
%%TOMCAT6%%@dirrm apache-tomcat-6.0/webapps/barbecue
94
%%TOMCAT6%%@dirrmtry apache-tomcat-6.0/webapps
95
%%TOMCAT6%%@dirrmtry apache-tomcat-6.0

Return to bug 173015