pkgsrc/print/indexinfo/Makefile
marino 65d3a7479a Add new package print/indexinfo
This is a small utility designed to regenerate the GNU info page indexes.
It's used by pkg(8) to generate GNU info pages.  Import suggested by wiz.
2016-12-05 19:54:15 +00:00

26 lines
722 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/12/05 19:54:15 marino Exp $
PKGNAME= indexinfo-0.2.6
CATEGORIES= print
MASTER_SITES= https://github.com/bapt/indexinfo/archive/
DIST_SUBDIR= indexinfo
DISTFILES= 0.2.6.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/bapt/indexinfo
COMMENT= Utility to regenerate the GNU info page index
pre-install:
${MKDIR} ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly"
SUBST_CLASSES+= reallocf
SUBST_STAGE.reallocf= post-patch
SUBST_FILES.reallocf= indexinfo.c
SUBST_SED.reallocf= -e "s|reallocf|realloc|"
SUBST_MESSAGE.reallocf= Replace reallocf with realloc on ${OPSYS}
.endif
.include "../../mk/bsd.pkg.mk"