mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
If the X11 is on, xglyph and libt1x directly depend on various X libs. These dependencies are missing from USE_XORG (noticed by stage-qa). If any of those missing dependencies are removed, t1lib will break. Relying on indirect dependencies is insufficient since those dependencies can change on their own. PR: 236640 Submitted by: jcfyecrayz@liamekaens.com
38 lines
781 B
Makefile
38 lines
781 B
Makefile
# Created by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= t1lib
|
|
PORTVERSION= 5.1.2
|
|
PORTREVISION= 5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SUNSITE/libs/graphics/
|
|
|
|
MAINTAINER= ler@FreeBSD.org
|
|
COMMENT= Type 1 font rasterization library for Unix/X11
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/LGPL
|
|
|
|
USES= cpe gmake libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= X11 DOCS
|
|
OPTIONS_DEFAULT= X11
|
|
|
|
OPTIONS_SUB= yes
|
|
X11_USE= XORG=ice,sm,x11,xaw,xext,xmu,xpm,xt
|
|
X11_CONFIGURE_WITH= x
|
|
|
|
ALL_TARGET= without_doc
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/ALLSUBDIRS/s|$$(DOCSUBDIRS)||g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|