freebsd-ports/print/makeindex/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

36 lines
1 KiB
Makefile

# Created by: jmz
PORTNAME= makeindex
PORTVERSION= 3.0.8
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://ftp.linux.cz/pub/tex/local/indexing/makeindex3/ \
http://ftp.cstug.cz/pub/tex/local/indexing/makeindex3/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose, formatter-independent index processor
CONFLICTS= teTeX-base
WRKSRC= ${WRKDIR}/makeindex
post-patch:
@(cd ${WRKSRC}/doc; \
${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \
<makeindex.l >makeindex.1)
@${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|STY)DIR),DESTDIR)$$(&,' \
${WRKSRC}/src-3.0/Makefile.gen
do-build:
@(cd ${WRKSRC}/src-3.0/regexp; ${MAKE} OPT="${CFLAGS}")
@(cd ${WRKSRC}/src-3.0; ${MAKE} OPT="${CFLAGS}")
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/makeindx
@(cd ${WRKSRC}/src-3.0/regexp; ${MAKE})
@(cd ${WRKSRC}/src-3.0; ${MAKE} install ${MAKE_ARGS})
@(cd ${WRKSRC}/doc; \
${INSTALL_DATA} makeindex.1 ${STAGEDIR}${MANPREFIX}/man/man1)
.include <bsd.port.mk>