pkgsrc/archivers/gcpio/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2012-12-06 12:38:19 +01:00
# $NetBSD: Makefile,v 1.45 2012/12/06 11:38:19 jperkin Exp $
#
2006-06-18 09:04:15 +02:00
DISTNAME= cpio-2.6
PKGNAME= g${DISTNAME}
PKGREVISION= 10
CATEGORIES= archivers
2006-06-18 09:04:15 +02:00
MASTER_SITES= ${MASTER_SITE_GNU:=cpio/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/cpio/cpio.html
COMMENT= GNU copy-in/out (cpio) with remote magnetic tape (rmt) support
2010-03-23 23:42:17 +01:00
LICENSE= gnu-gpl-v2
CONFLICTS+= gtar-base-[0-9]*
2004-06-06 23:35:09 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_TOOLS+= makeinfo
2006-06-18 09:04:15 +02:00
INFO_FILES= yes
AUTO_MKDIRS= yes
TEST_TARGET= check
2006-06-05 21:04:32 +02:00
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
CONFIGURE_ARGS+= --program-prefix=g
PLIST_VARS+= rmt
.include "../../mk/bsd.prefs.mk"
# don't include rmt if gtar won't build it
.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin"
PLIST.rmt= yes
.endif
2012-12-06 12:38:19 +01:00
.include "../../mk/bsd.prefs.mk"
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
2006-06-05 21:04:32 +02:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"