- remove unnecessary post-extract target, this is performed in gtar's

Makefile as-is
- remove workaround for texinfo install-info bug
- ${STRIP} -> strip
- rearrange PLIST a bit
This commit is contained in:
brad 1999-12-15 22:13:13 +00:00
parent 39a936dd35
commit 36ce72f399
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 1999/09/06 17:17:52 brad Exp $
# $OpenBSD: Makefile,v 1.7 1999/12/15 22:13:13 brad Exp $
DISTNAME= tar-1.13
CATEGORIES= archivers
@ -12,15 +12,9 @@ MAINTAINER= niklas@openbsd.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
post-install:
@${STRIP} ${PREFIX}/bin/gtar
@${STRIP} ${PREFIX}/libexec/grmt
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@strip ${PREFIX}/bin/gtar
@strip ${PREFIX}/libexec/grmt
@install-info ${PREFIX}/info/tar.info ${PREFIX}/info/dir
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL

View File

@ -1,6 +1,7 @@
@unexec install-info --delete --info-dir=%D/info %D/info/tar.info
bin/gtar
@unexec install-info --delete --info-dir=%D/info %D/info/tar.info
info/tar.info
@exec install-info --info-dir=%D/info %D/info/tar.info
libexec/grmt
share/locale/cs/LC_MESSAGES/tar.mo
share/locale/de/LC_MESSAGES/tar.mo
@ -15,4 +16,3 @@ share/locale/pt/LC_MESSAGES/tar.mo
share/locale/ru/LC_MESSAGES/tar.mo
share/locale/sl/LC_MESSAGES/tar.mo
share/locale/sv/LC_MESSAGES/tar.mo
@exec install-info --info-dir=%D/info %D/info/tar.info