pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/opera MANCOMPRESSED is yes/no.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8afe347c6b1
branches: trunk
changeset: 494193:c8afe347c6b1
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri May 20 19:48:34 2005 +0000
description:
MANCOMPRESSED is yes/no.
diffstat:
www/opera/Makefile | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 855b667a8bc3 -r c8afe347c6b1 www/opera/Makefile
--- a/www/opera/Makefile Fri May 20 19:26:54 2005 +0000
+++ b/www/opera/Makefile Fri May 20 19:48:34 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/05/03 09:13:26 tron Exp $
+# $NetBSD: Makefile,v 1.35 2005/05/20 19:48:34 jlam Exp $
DISTNAME= opera-${OPERA_PKG_VERSION:S/u/pl/}
PKGREVISION= # empty
@@ -107,9 +107,13 @@
.include "../../emulators/suse_linux/Makefile.application"
+.if defined(MANCOMPRESSED) && !empty(MANCOMPRESSED:M[yY][eE][sS])
+PKGSRC_USE_TOOLS+= gzip
+.endif
+
post-install-manpage:
- # The SuSE common makefile defines "MANCOMPRESSED".
-. if defined(MANCOMPRESSED)
+ # The SuSE common makefile defines "MANCOMPRESSED=yes".
+. if defined(MANCOMPRESSED) && !empty(MANCOMPRESSED:M[yY][eE][sS])
${GZIP_CMD} ${EMULDIR}/usr/share/man/man1/opera.1
${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera.1.gz \
${PREFIX}/man/man1
@@ -131,7 +135,7 @@
# regenerate distinfo for all ports supported by this package
opera-distinfo:
- ( echo '$$NetBSD: Makefile,v 1.34 2005/05/03 09:13:26 tron Exp $$'; echo ''; \
+ ( echo '$$NetBSD: Makefile,v 1.35 2005/05/20 19:48:34 jlam Exp $$'; echo ''; \
_OPERA_OPSYS=NetBSD ${MAKE} distinfo 1>&2; \
${GREP} opera distinfo; \
_OPERA_OPSYS=FreeBSD ${MAKE} distinfo 1>&2; \
Home |
Main Index |
Thread Index |
Old Index