2020-02-16 01:35:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.54 2020/02/16 00:35:19 mef Exp $
|
1998-03-04 15:51:38 +01:00
|
|
|
|
2020-02-16 01:35:19 +01:00
|
|
|
DISTNAME= cpio-2.13
|
2016-09-18 13:17:41 +02:00
|
|
|
PKGNAME= g${DISTNAME}
|
1998-03-05 21:09:46 +01:00
|
|
|
CATEGORIES= archivers
|
2006-06-18 09:04:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=cpio/}
|
1998-03-04 15:51:38 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:29:55 +01:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/cpio/cpio.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= GNU copy-in/out (cpio) with remote magnetic tape (rmt) support
|
2013-06-09 16:35:12 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
1998-03-04 15:51:38 +01:00
|
|
|
|
2006-03-20 05:14:47 +01:00
|
|
|
CONFLICTS+= gtar-base-[0-9]*
|
|
|
|
|
2002-08-25 23:48:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2006-06-18 09:04:15 +02:00
|
|
|
INFO_FILES= yes
|
1998-03-04 15:51:38 +01:00
|
|
|
|
2012-06-02 10:38:13 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2006-02-12 02:44:28 +01:00
|
|
|
|
2012-05-29 22:37:08 +02:00
|
|
|
TEST_TARGET= check
|
2006-06-05 21:04:32 +02:00
|
|
|
|
2012-05-29 22:37:08 +02:00
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
2013-06-23 15:46:28 +02:00
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext2_libintl=yes
|
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
|
2003-03-16 01:17:23 +01:00
|
|
|
|
2012-05-29 22:37:08 +02:00
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
2006-10-07 18:21:39 +02:00
|
|
|
|
2012-11-20 18:07:05 +01:00
|
|
|
PLIST_VARS+= rmt
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# don't include rmt if gtar won't build it
|
2019-07-07 10:54:30 +02:00
|
|
|
# macOS does not support rmt driver, so it won't be built
|
2012-11-20 18:07:05 +01:00
|
|
|
.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin"
|
|
|
|
PLIST.rmt= yes
|
|
|
|
.endif
|
|
|
|
|
2012-12-06 12:38:19 +01:00
|
|
|
|
2012-05-29 22:37:08 +02:00
|
|
|
post-install:
|
2012-12-06 12:38:19 +01:00
|
|
|
${LN} -sf ${PREFIX}/bin/gcpio ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/cpio
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gcpio.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/cpio.1
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmt.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/mt.1
|
2003-03-16 01:17:23 +01:00
|
|
|
|
2006-06-05 21:04:32 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
1998-04-15 12:38:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|