mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2014/02/15 11:35:27 adam Exp $
|
|
|
|
DISTNAME= help2man-1.44.1
|
|
CATEGORIES= converters
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= arved@arved.at
|
|
HOMEPAGE= http://www.gnu.org/software/help2man/
|
|
COMMENT= Generate simple manual pages from program output
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= perl:run msgfmt gmake
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing install lib paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= Makefile.in
|
|
SUBST_SED.paths= -e 's,(libdir)/help2man,(libdir),g'
|
|
|
|
INFO_FILES= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# XXX: will undoubtedly include more versions
|
|
.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M9.*)
|
|
SUBST_CLASSES+= shlibarg
|
|
SUBST_STAGE.shlibarg= pre-configure
|
|
SUBST_FILES.shlibarg= Makefile.in
|
|
SUBST_SED.shlibarg= -e 's, -shared , -dynamiclib ,g'
|
|
.endif
|
|
|
|
PLIST_VARS+= nls
|
|
|
|
.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != ""
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.else
|
|
. if ${OPSYS} == "Darwin"
|
|
_STRIPFLAG_INSTALL=
|
|
. endif
|
|
USE_PKGLOCALEDIR= yes
|
|
PLIST.nls= yes
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|