pkgsrc/archivers/gsharutils/Makefile
rillig a02ce26178 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:29:55 +00:00

37 lines
994 B
Makefile

# $NetBSD: Makefile,v 1.56 2020/01/18 23:29:55 rillig Exp $
DISTNAME= sharutils-4.15.2
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/sharutils/sharutils.html
COMMENT= Allow packing and unpacking of shell archives
LICENSE= gnu-gpl-v3
AUTO_MKDIRS= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-prefix=g
CONFIGURE_ENV+= SH=${TOOLS_SH}
INSTALL_TARGET= install install-man
INFO_FILES= yes
USE_TOOLS+= makeinfo msgfmt sh:run
.include "../../mk/bsd.prefs.mk"
pre-install:
${RM} -f ${DESTDIR}${PREFIX}/lib/charset.alias
post-install:
.for f in shar unshar
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"