2017-04-05 19:23:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.55 2017/04/05 17:23:07 adam Exp $
|
1999-05-23 22:22:19 +02:00
|
|
|
|
2017-04-05 19:23:07 +02:00
|
|
|
DISTNAME= sharutils-4.15.2
|
1999-05-23 22:33:46 +02:00
|
|
|
PKGNAME= g${DISTNAME}
|
1999-05-23 22:22:19 +02:00
|
|
|
CATEGORIES= archivers
|
1999-05-23 22:33:46 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
|
2017-04-05 19:23:07 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
1999-05-23 22:22:19 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-05-23 22:36:07 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/sharutils/sharutils.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= Allow packing and unpacking of shell archives
|
2011-11-19 19:59:20 +01:00
|
|
|
LICENSE= gnu-gpl-v3
|
2000-11-02 03:35:14 +01:00
|
|
|
|
2012-06-02 10:18:35 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2012-05-29 22:52:55 +02:00
|
|
|
|
2002-11-30 12:16:17 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2017-04-05 19:23:07 +02:00
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
|
|
CONFIGURE_ENV+= SH=${TOOLS_SH}
|
2002-11-30 12:16:17 +01:00
|
|
|
|
|
|
|
INSTALL_TARGET= install install-man
|
2006-06-18 09:04:15 +02:00
|
|
|
INFO_FILES= yes
|
2011-11-19 19:59:20 +01:00
|
|
|
USE_TOOLS+= makeinfo msgfmt sh:run
|
1999-05-23 22:22:19 +02:00
|
|
|
|
2012-12-06 12:38:19 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2013-07-21 11:03:19 +02:00
|
|
|
pre-install:
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/charset.alias
|
|
|
|
|
2012-05-29 22:52:55 +02:00
|
|
|
post-install:
|
2012-06-02 10:18:35 +02:00
|
|
|
.for f in shar unshar
|
2012-12-06 12:38:19 +01:00
|
|
|
${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
|
2012-06-02 10:18:35 +02:00
|
|
|
.endfor
|
2002-12-22 02:42:16 +01:00
|
|
|
|
2004-03-11 19:03:49 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
1999-05-23 22:33:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|