diff options
author | thierry <thierry@FreeBSD.org> | 2005-06-13 03:15:30 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-06-13 03:15:30 +0800 |
commit | 1747fe3b34316a3c80cbf6907da85b711ea11a0c (patch) | |
tree | 9dd210cbc20b885fe2e7768aa5c7cc2abd3456eb /graphics | |
parent | e5c31ab5b814b638c842f046be80e802b30cf87e (diff) | |
download | freebsd-ports-gnome-1747fe3b34316a3c80cbf6907da85b711ea11a0c.tar.gz freebsd-ports-gnome-1747fe3b34316a3c80cbf6907da85b711ea11a0c.tar.zst freebsd-ports-gnome-1747fe3b34316a3c80cbf6907da85b711ea11a0c.zip |
Add barbecue 1.0.6d, a Java barcode generator.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/barbecue/Makefile | 59 | ||||
-rw-r--r-- | graphics/barbecue/distinfo | 2 | ||||
-rw-r--r-- | graphics/barbecue/pkg-descr | 7 |
4 files changed, 69 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 072fbcad48b6..7a3434d3aa2d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -25,6 +25,7 @@ SUBDIR += aview SUBDIR += ayam SUBDIR += backfract + SUBDIR += barbecue SUBDIR += barcode SUBDIR += batik SUBDIR += bbrb diff --git a/graphics/barbecue/Makefile b/graphics/barbecue/Makefile new file mode 100644 index 000000000000..4c1b23fd12b0 --- /dev/null +++ b/graphics/barbecue/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: barbecue +# Date created: 21 May 2005 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= barbecue +PORTVERSION= 1.0.6d +CATEGORIES= graphics print java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= A Java barcode generator + +RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom + +USE_JAVA= yes +JAVA_VERSION= 1.3+ +NO_BUILD= yes + +JARFILES= ${PORTNAME}-${PORTVERSION}.jar +PLIST_FILES+= %%JAVAJARDIR%%/${JARFILES:S|-${PORTVERSION}||} \ + %%JAVAJARDIR%%/LICENSE.barbecue.txt + +.if defined(WITH_TOMCAT41) +RUN_DEPENDS+= ${LOCALBASE}/bin/tomcat41ctl:${PORTSDIR}/www/jakarta-tomcat41 +JAKARTA_HOME= ${LOCALBASE}/jakarta-tomcat4.1 +PLIST_FILES+= ${JAKARTA_HOME:S|^${LOCALBASE}/||}/webapps/${PORTNAME}.war +.endif + +PORTDOCS= * + +pre-everything:: +.if !defined(WITH_TOMCAT41) + @${ECHO_MSG} '*********************************************************' + @${ECHO_MSG} '* To use Barbecue as a servlet, define WITH_TOMCAT41. *' + @${ECHO_MSG} '*********************************************************' +.endif + +post-extract: + ${MV} ${WRKSRC}/${JARFILES} ${WRKSRC}/${JARFILES:S|-${PORTVERSION}||} + +do-install: + ${INSTALL_DATA} ${JARFILES:S|-${PORTVERSION}||:S|^|${WRKSRC}/|} ${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${JAVAJARDIR}/LICENSE.barbecue.txt +.if defined(WITH_TOMCAT41) + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.war ${JAKARTA_HOME}/webapps +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} + @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR} + @${CP} -R ${WRKSRC}/examples ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +.include <bsd.port.mk> diff --git a/graphics/barbecue/distinfo b/graphics/barbecue/distinfo new file mode 100644 index 000000000000..a406cbf835e3 --- /dev/null +++ b/graphics/barbecue/distinfo @@ -0,0 +1,2 @@ +MD5 (barbecue-1.0.6d.tar.gz) = 1e1265be5fb88254ae51e3da714effc2 +SIZE (barbecue-1.0.6d.tar.gz) = 421847 diff --git a/graphics/barbecue/pkg-descr b/graphics/barbecue/pkg-descr new file mode 100644 index 000000000000..89eb6a18079e --- /dev/null +++ b/graphics/barbecue/pkg-descr @@ -0,0 +1,7 @@ +Barbecue is an open-source, Java barcode library that provides the means to +create barcodes for printing and display in Java applications. A number of +barcode formats are supported and many more can be added via the flexible +barcode API. Barcodes can be outputted to Graphics objects, or used as a Swing +component, or written out as SVG. + +WWW: http://barbecue.sourceforge.net/ |