2019-11-04 10:00:48 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2019/11/04 10:00:48 feinerer Exp $
|
2015-08-20 18:36:52 +00:00
|
|
|
|
|
|
|
COMMENT = official documentation format of the GNU project
|
|
|
|
|
2017-09-18 07:59:40 +00:00
|
|
|
DISTNAME = texinfo-6.5
|
2019-11-04 10:00:48 +00:00
|
|
|
REVISION = 4
|
2015-08-20 18:36:52 +00:00
|
|
|
|
|
|
|
CATEGORIES = print
|
|
|
|
|
|
|
|
HOMEPAGE = https://www.gnu.org/software/texinfo/
|
|
|
|
|
|
|
|
# GPLv3
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2015-08-20 18:36:52 +00:00
|
|
|
|
2019-05-21 09:34:30 +00:00
|
|
|
WANTLIB += c iconv intl curses
|
2015-08-20 18:36:52 +00:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GNU:=texinfo/}
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/help2man \
|
|
|
|
lang/gawk
|
2016-09-23 23:13:37 +00:00
|
|
|
RUN_DEPENDS = print/texlive/base
|
2019-05-20 22:15:00 +00:00
|
|
|
LIB_DEPENDS = devel/gettext,-runtime
|
2016-09-23 23:13:37 +00:00
|
|
|
TEST_DEPENDS = ${RUN_DEPENDS}
|
2015-08-20 18:36:52 +00:00
|
|
|
|
|
|
|
FAKE_FLAGS = TEXMF=${PREFIX}/share/texmf-local
|
|
|
|
|
|
|
|
SEPARATE_BUILD = Yes
|
2016-02-27 09:49:04 +00:00
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
2015-08-20 18:36:52 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS = --program-prefix=g
|
|
|
|
CONFIGURE_ENV = ac_cv_prog_AWK=gawk
|
|
|
|
|
|
|
|
INSTALL_TARGET = install install-tex
|
|
|
|
|
|
|
|
# gtexindex is a shell script which hardcodes texindex.awk
|
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/info && for i in *.info*; do mv $$i g$$i; done
|
|
|
|
cd ${PREFIX}/share/texinfo && mv gtexindex.awk texindex.awk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|