aboutsummaryrefslogtreecommitdiff
path: root/print/graphics2d/Makefile
blob: 22328865392f700b5b5e550a1e21c7039533595f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	graphics2d
DISTVERSION=	3.0.5
CATEGORIES=	print java
MASTER_SITES=	https://repo1.maven.org/maven2/de/rototor/pdfbox/${PORTNAME}/${PORTVERSION}/
EXTRACT_SUFX=	.jar
EXTRACT_ONLY=

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Graphics2D Bridge for Apache PDFBox
WWW=		https://github.com/rototor/pdfbox-graphics2d

LICENSE=	APACHE20

USES=		java

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar	\
		%%JAVAJARDIR%%/${PORTNAME}-${PORTVERSION}.jar

do-install:
	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.jar \
		 ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
	${LN} -sf ${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar

.include <bsd.port.mk>