Lines 6-36
Link Here
|
6 |
# $Id: Makefile,v 1.22 1999/06/23 06:59:59 taoka Exp $ |
6 |
# $Id: Makefile,v 1.22 1999/06/23 06:59:59 taoka Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
DISTNAME= xpdf-0.80 |
9 |
DISTNAME= xpdf-0.90 |
10 |
CATEGORIES= graphics print |
10 |
CATEGORIES= graphics print |
11 |
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} ftp://ftp.foolabs.com/pub/xpdf/ \ |
11 |
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} ftp://ftp.foolabs.com/pub/xpdf/ \ |
12 |
ftp://ftp.duke.edu/pub/X11/contrib/applications/ \ |
12 |
ftp://ftp.duke.edu/pub/X11/contrib/applications/ |
13 |
${MASTER_SITE_TEX_CTAN} |
|
|
14 |
MASTER_SITE_SUBDIR=support/xpdf |
13 |
MASTER_SITE_SUBDIR=support/xpdf |
15 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
16 |
|
15 |
|
17 |
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) |
16 |
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) |
18 |
PATCH_SITES= ftp://ftp.sci.usq.edu.au/pub/linux/xpdf/ |
17 |
PATCH_SITES= http://www.fefe.de/ |
19 |
PATCHFILES= xpdf-0.80-decrypt.patch |
18 |
PATCHFILES= xpdf-0.90-fefe-diff.gz |
20 |
PATCH_DIST_ARGS=-p0 -E -d ${WRKDIR} --quiet |
19 |
PATCH_DIST_STRIP= -p1 |
21 |
.endif |
20 |
.endif |
22 |
|
21 |
|
23 |
MAINTAINER= chuckr@glue.umd.edu |
22 |
MAINTAINER= chuckr@glue.umd.edu |
24 |
|
23 |
|
|
|
24 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libt1.a:${PORTSDIR}/devel/t1lib |
25 |
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm |
25 |
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm |
26 |
|
26 |
|
27 |
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) |
27 |
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) |
28 |
RESTRICTED= "Contains cryptography" |
28 |
RESTRICTED= "Contains cryptography" |
29 |
.endif |
29 |
.endif |
30 |
USE_X_PREFIX= yes |
30 |
USE_XLIB= yes |
31 |
GNU_CONFIGURE= yes |
31 |
GNU_CONFIGURE= yes |
32 |
CONFIGURE_ARGS= --with-gzip --enable-japanese |
32 |
CONFIGURE_ARGS= --with-gzip --enable-japanese \ |
33 |
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" |
33 |
--with-t1-library=${LOCALBASE}/lib \ |
|
|
34 |
--with-t1-includes=${LOCALBASE}/include \ |
35 |
--with-t1x-library=${LOCALBASE}/lib \ |
36 |
--with-t1x-includes=${LOCALBASE}/include |
37 |
.if defined(A4) |
38 |
CONFIGURE_ARGS+= --enable-a4-paper |
39 |
.endif |
34 |
|
40 |
|
35 |
MAN1= pdfimages.1 \ |
41 |
MAN1= pdfimages.1 \ |
36 |
pdfinfo.1 \ |
42 |
pdfinfo.1 \ |