freebsd-ports/print/tex-ptexenc/Makefile
Muhammad Moinur Rahman 721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00

32 lines
868 B
Makefile

PORTNAME= ptexenc
PORTVERSION= 1.3.9
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/Source/${TEXLIVE_YEAR}
PKGNAMEPREFIX= tex-
DISTNAME= texlive-${TEXLIVE_VERSION}-source
DIST_SUBDIR= TeX
MAINTAINER= tex@FreeBSD.org
COMMENT= Library for Japanese pTeX and its tools
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= iconv libtool pathfix pkgconfig tar:xz tex
USE_TEX= kpathsea
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/ptexenc
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S/^/${DISTNAME}\//}
EXTRACT_FILES= build-aux texk/ptexenc
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-kanji-iconv \
--with-system-kpathsea \
--with-kpathsea-includes=${LOCALBASE}/include \
--with-kpathsea-libdir=${LOCALBASE}/lib
LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
CPPFLAGS+= -I${ICONV_PREFIX}/include
INSTALL_TARGET= install-strip
.include <bsd.port.mk>