aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdfbox/Makefile
blob: 6997ad8c28255730e899ccceae990b58d41cdbc7 (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
28
29
30
31
32
33
34
35
36
37
38
# Created by: Pedro Giffuni <giffunip@tutopia.com>
# $FreeBSD$

PORTNAME=   pdfbox
PORTVERSION=    1.6.0
CATEGORIES= print textproc java
MASTER_SITES=   ${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTFILES=  ${PORTNAME}-app-${PORTVERSION}.jar  \
        fontbox-${PORTVERSION}.jar jempbox-${PORTVERSION}.jar

MAINTAINER= giffunip@tutopia.com
COMMENT=    Java PDF Library

RUN_DEPENDS=    ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle  \
        ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging

LICENSE=    AL2

USE_JAVA=   yes
JAVA_VERSION=   1.6+

DIST_SUBDIR=    ${PORTNAME}
NO_EXTRACT= yes
NO_BUILD=   yes

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

do-install:
    @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
    @${MKDIR} ${JAVAJARDIR}
    @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*-${PORTVERSION}.jar \
     ${JAVAJARDIR}
    @${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>