gmake is horrible, shun it.
okay sthen@, aja@ (+ a big comment explaining why)
This commit is contained in:
parent
00de6ba74f
commit
efc560b67f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2013/11/09 23:19:02 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2014/09/21 08:58:45 espie Exp $
|
||||
|
||||
COMMENT= generates simple manual pages from program output
|
||||
|
||||
@ -13,13 +13,23 @@ HOMEPAGE= https://www.gnu.org/software/help2man/
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
USE_GMAKE= Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --disable-nls
|
||||
|
||||
post-install:
|
||||
rmdir ${PREFIX}/lib/help2man
|
||||
# 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user