aboutsummaryrefslogtreecommitdiffstats
path: root/devel/t1lib/Makefile
blob: 9d9cb4a0af182f33f3dfdd57477a48e4e8812c23 (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
40
41
42
# ex:ts=8
# New ports collection makefile for:    libt1
# Date created:         13, May, 1999
# Whom:             Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   t1lib
PORTVERSION=    5.0.1
PORTEPOCH=  1
CATEGORIES= devel
### 5.0.2 seems to cause problems with xpdf
### 5.0.1 has been vanished from most of ibilio/sunsite mirror sites
#MASTER_SITES=  ${MASTER_SITE_SUNSITE}
MASTER_SITES=   http://sunsite.rediris.es/sites2/ibiblio.org/linux/%SUBDIR%/
MASTER_SITE_SUBDIR= libs/graphics

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Type 1 Rasterizer Library for UNIX/X11

USE_GMAKE=  yes
USE_LIBTOOL_VER=    13
ALL_TARGET= without_doc
INSTALLS_SHLIB= yes

.if !defined(WITHOUT_X11)
USE_XLIB=   yes
CONFIGURE_ARGS+=    --with-x
PLIST_SUB+= X11=""
.else
CONFIGURE_ARGS+=    --without-x
PLIST_SUB+= X11="@comment "
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>