ports/160138: Update port: print/makeindex
KATO Tsuguru
tkato432 at yahoo.com
Wed Aug 24 18:50:35 UTC 2011
>Number: 160138
>Category: ports
>Synopsis: Update port: print/makeindex
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 24 18:50:34 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CFLAGS properly
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/print/makeindex/Makefile print/makeindex/Makefile
--- /usr/ports/print/makeindex/Makefile 2011-08-03 15:46:00.000000000 +0900
+++ print/makeindex/Makefile 2011-08-22 22:33:52.000000000 +0900
@@ -7,31 +7,34 @@
PORTNAME= makeindex
PORTVERSION= 3.0.8
+PORTREVISION= 1
CATEGORIES= print
-MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
- http://mirror2.unixfreunde.de/
+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 at FreeBSD.org
COMMENT= A general purpose, formatter-independent index processor
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2011-09-01
+CONFLICTS= teTeX-base-[0-9]*
WRKSRC= ${WRKDIR}/makeindex
MAN1= makeindex.1
+post-patch:
+ @(cd ${WRKSRC}/doc; \
+ ${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \
+ <makeindex.l >makeindex.1)
+
do-build:
- @(cd ${WRKSRC}/src-3.0/regexp; make)
- @(cd ${WRKSRC}/src-3.0; make)
+ @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE} OPT="${CFLAGS}")
+ @(cd ${WRKSRC}/src-3.0; ${MAKE} OPT="${CFLAGS}")
do-install:
@${MKDIR} ${PREFIX}/share/texmf/makeindx
- @(cd ${WRKSRC}/src-3.0/regexp; make)
- @(cd ${WRKSRC}/src-3.0; make install)
+ @(cd ${WRKSRC}/src-3.0/regexp; ${MAKE})
+ @(cd ${WRKSRC}/src-3.0; ${MAKE} install)
@(cd ${WRKSRC}/doc; \
- ${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \
- <makeindex.l >makeindex.1; \
- ${INSTALL_DATA} makeindex.1 ${PREFIX}/man/man1/)
+ ${INSTALL_DATA} makeindex.1 ${MANPREFIX}/man/man1)
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list