aboutsummaryrefslogtreecommitdiffstats
path: root/print/phppdflib/Makefile
blob: 71596ed25e570a5cb40fe120896f66aecf862c7b (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
39
# New ports collection makefile for: phppdflib
# Date created:         30 Aug 2001
# Whom:                 HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   phppdflib
PORTVERSION=    2.8
CATEGORIES= print
MASTER_SITES=   http://www.potentialtech.com/
EXTRACT_SUFX=   .tbz

MAINTAINER= sexbear@tmu.edu.tw
COMMENT=    An easy to use API for creating PDF files dynamically

USE_PHP=    yes
WANT_PHP_MOD=   yes
PHP_PORT?=  ${PORTSDIR}/www/mod_php4

BROKEN_WITH_PHP=5

.if defined(WITH_APACHE)
RUN_DEPENDS+=   ${LOCALBASE}/${APACHEMODDIR}/libphp4.so:${PHP_PORT}
.endif

WRKSRC=     ${WRKDIR}/phppdflib
USE_BZIP2=  yes
NO_BUILD=   yes

MYADMDIR?=  www/data/phppdflib

PLIST_SUB+= MYADMDIR=${MYADMDIR}

do-install:
    ${MKDIR} ${PREFIX}/${MYADMDIR}
    ${CP} -R ${WRKSRC}/* ${PREFIX}/${MYADMDIR}

.include <bsd.port.mk>