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

PORTNAME=   phppdflib
PORTVERSION=    2.7
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

.if defined(WITH_APACHE2)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.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>