pkgsrc/textproc/catdoc/Makefile
agc fd7b118f38 Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set.  If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile.  This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.

Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.
1999-07-02 08:37:20 +00:00

22 lines
453 B
Makefile

# $NetBSD: Makefile,v 1.8 1999/07/02 08:37:29 agc Exp $
#
DISTNAME= catdoc-0.35
CATEGORIES= textproc
MASTER_SITES= http://www.go.dlr.de/fresh/unix/src/contrib/
MAINTAINER= packages@netbsd.org
DEPENDS= tk-8.0.5:../../x11/tk80
MANCOMPRESSED_IF_MANZ= yes
USE_X11= yes
CFLAGS+= -Dunix
post-install:
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/wordview \
> ${PREFIX}/bin/wordview
chmod 755 ${PREFIX}/bin/wordview
.include "../../mk/bsd.pkg.mk"