diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-09-12 11:18:40 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-09-12 11:18:40 +0000 |
commit | 08d059a3926b00e5316fcbf2c804fc1ab245813a (patch) | |
tree | 3d26d9bc466bd1ffbcf5d0074f38e45bd42e0d0b /archivers | |
parent | 4f332cfe12761a0693004c2fe6149876a82edca6 (diff) | |
download | pkgsrc-08d059a3926b00e5316fcbf2c804fc1ab245813a.tar.gz |
Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pax/Makefile | 3 | ||||
-rw-r--r-- | archivers/pax/files/Makefile.in | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile index b672a24730b..7ba5d91f895 100644 --- a/archivers/pax/Makefile +++ b/archivers/pax/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2012/09/11 19:46:59 asau Exp $ +# $NetBSD: Makefile,v 1.49 2013/09/12 11:18:40 jperkin Exp $ DISTNAME= pax-20080110 PKGREVISION= 2 @@ -13,6 +13,7 @@ COMMENT= POSIX standard archiver with many extensions BOOTSTRAP_PKG= yes CHECK_PERMS= no +MAKE_ENV+= CATMAN_SECTION_SUFFIX=${CATMAN_SECTION_SUFFIX:Q} MAKE_ENV+= MANINSTALL=${MANINSTALL:Q} USE_FEATURES= nbcompat diff --git a/archivers/pax/files/Makefile.in b/archivers/pax/files/Makefile.in index 35e797c4947..c54cc465d22 100644 --- a/archivers/pax/files/Makefile.in +++ b/archivers/pax/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.12 2012/03/04 19:50:21 joerg Exp $ +# $NetBSD: Makefile.in,v 1.13 2013/09/12 11:18:40 jperkin Exp $ srcdir= @srcdir@ @@ -55,7 +55,13 @@ install: $(INSTALL) -m 444 tar.1 $(DESTDIR)$(man1dir)/$$(echo tar | sed '$(program_transform_name)').1 .if !empty(MANINSTALL:Mcatinstall) $(INSTALL) -m 755 -d $(DESTDIR)$(cat1dir) +. if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]) + $(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$$(echo $(PROG) | sed '$(program_transform_name)').1 + $(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/$$(echo cpio | sed '$(program_transform_name)').1 + $(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/$$(echo tar | sed '$(program_transform_name)').1 +. else $(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$$(echo $(PROG) | sed '$(program_transform_name)').0 $(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/$$(echo cpio | sed '$(program_transform_name)').0 $(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/$$(echo tar | sed '$(program_transform_name)').0 +. endif .endif |