2001-02-15 20:09:12 +01:00
|
|
|
# ex:ts=8
|
1999-06-06 19:33:50 +02:00
|
|
|
# New ports collection makefile for: libt1
|
|
|
|
# Date created: 13, May, 1999
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-06-06 19:33:50 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:44:42 +02:00
|
|
|
PORTNAME= t1lib
|
2007-02-21 16:01:14 +01:00
|
|
|
PORTVERSION= 5.1.1
|
2007-07-31 14:18:11 +02:00
|
|
|
PORTREVISION= 2
|
2004-04-15 21:18:49 +02:00
|
|
|
PORTEPOCH= 1
|
1999-06-06 19:33:50 +02:00
|
|
|
CATEGORIES= devel
|
2005-09-18 20:22:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
1999-06-08 23:59:37 +02:00
|
|
|
MASTER_SITE_SUBDIR= libs/graphics
|
1999-06-06 19:33:50 +02:00
|
|
|
|
2003-03-24 02:08:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A Type 1 Rasterizer Library for UNIX/X11
|
1999-06-06 19:33:50 +02:00
|
|
|
|
2005-09-18 20:22:12 +02:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-09-18 20:22:12 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-04-14 20:49:24 +02:00
|
|
|
ALL_TARGET= without_doc
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-02-15 20:09:12 +01:00
|
|
|
|
2001-06-05 13:38:35 +02:00
|
|
|
.if !defined(WITHOUT_X11)
|
2007-07-31 14:18:11 +02:00
|
|
|
USE_XORG= xaw
|
2001-02-15 20:09:12 +01:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
2004-03-02 09:16:23 +01:00
|
|
|
PLIST_SUB+= X11=""
|
2001-02-15 20:09:12 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2004-03-02 09:16:23 +01:00
|
|
|
PLIST_SUB+= X11="@comment "
|
2001-02-15 20:09:12 +01:00
|
|
|
.endif
|
|
|
|
|
2005-05-31 21:00:51 +02:00
|
|
|
post-patch:
|
2005-09-18 20:22:12 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|^LIBTOOL[ ]*=.*|LIBTOOL=${LIBTOOL}|g'
|
2005-05-31 21:00:51 +02:00
|
|
|
|
2004-04-14 20:49:24 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR}
|
|
|
|
.endif
|
1999-06-06 19:33:50 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|