sthen 07ff9995be update to help2man-1.46.4, from Jason Tubnor
- this is a key port builds-wise as it's in the path to autoconf (and thus many
other ports), so I gave extra consideration because distfiles have switched to
tar.xz; however xz has no dependencies and is usually built early anyway, so
this shouldn't slow things down.
2014-10-27 10:33:32 +00:00

36 lines
900 B
Makefile

# $OpenBSD: Makefile,v 1.17 2014/10/27 10:33:32 sthen Exp $
COMMENT= generates simple manual pages from program output
DISTNAME= help2man-1.46.4
EXTRACT_SUFX= .tar.xz
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
HOMEPAGE= https://www.gnu.org/software/help2man/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
SEPARATE_BUILD= Yes
NO_TEST= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-nls
# XXX
# this ships with a monster GNUmakefile that doesn't do *anything useful*
# when --disable-nls is active, so build manually.
# help2man builds early -> autoconf builds early, before the infamous
# "gperf/libconv/gettext/gmake hell"
do-build:
cd ${WRKBUILD} && perl ${WRKSRC}/help2man.PL
do-install:
${INSTALL_SCRIPT} ${WRKBUILD}/help2man ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/help2man.info ${PREFIX}/info
${INSTALL_MAN} ${WRKSRC}/help2man.1 ${PREFIX}/man/man1
.include <bsd.port.mk>