freebsd-ports/devel/t1lib/Makefile

46 lines
973 B
Makefile
Raw Normal View History

2001-02-15 20:09:12 +01:00
# ex:ts=8
# 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$
#
2000-04-14 07:44:42 +02:00
PORTNAME= t1lib
PORTVERSION= 5.1.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/graphics
2003-03-24 02:08:59 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= A Type 1 Rasterizer Library for UNIX/X11
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= without_doc
USE_LDCONFIG= yes
2001-02-15 20:09:12 +01:00
.if !defined(WITHOUT_X11)
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
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^LIBTOOL[ ]*=.*|LIBTOOL=${LIBTOOL}|g'
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>