474905dca9
- I didn't bump libver because evince and pdf both work with out it being bumped if anyone has problems please email me. PR: ports/86264 Submitted by: Ports Fury
46 lines
972 B
Makefile
46 lines
972 B
Makefile
# 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.1.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= libs/graphics
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Type 1 Rasterizer Library for UNIX/X11
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER= 15
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
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-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>
|