Sun Oct 21 21:23:45 2012 UTC ()
Add CONFLICTS with mdocml and ja-groff; Add LICENSE; Fix pkglint warning


(cheusov)
diff -r1.65 -r1.66 pkgsrc/textproc/groff/Makefile

cvs diff -r1.65 -r1.66 pkgsrc/textproc/groff/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/groff/Makefile 2012/10/03 21:57:48 1.65
+++ pkgsrc/textproc/groff/Makefile 2012/10/21 21:23:45 1.66
@@ -1,24 +1,27 @@ @@ -1,24 +1,27 @@
1# $NetBSD: Makefile,v 1.65 2012/10/03 21:57:48 wiz Exp $ 1# $NetBSD: Makefile,v 1.66 2012/10/21 21:23:45 cheusov Exp $
2# 2#
3 3
4DISTNAME= groff-1.20.1 4DISTNAME= groff-1.20.1
5PKGREVISION= 7 5PKGREVISION= 8
6CATEGORIES= textproc 6CATEGORIES= textproc
7MASTER_SITES= ${MASTER_SITE_GNU:=groff/} 7MASTER_SITES= ${MASTER_SITE_GNU:=groff/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.gnu.org/software/groff/groff.html 10HOMEPAGE= http://www.gnu.org/software/groff/groff.html
11COMMENT= GNU roff text processing suite 11COMMENT= GNU roff text processing suite
 12LICENSE= gnu-gpl-v3
 13
 14CONFLICTS= mdocml-[0-9]* ja-groff-[0-9]*
12 15
13CHECK_PERMS= NO 16CHECK_PERMS= NO
14MAKE_JOBS_SAFE= NO 17MAKE_JOBS_SAFE= NO
15 18
16PKG_DESTDIR_SUPPORT= user-destdir 19PKG_DESTDIR_SUPPORT= user-destdir
17INSTALLATION_DIRS= share/groff/site-tmac 20INSTALLATION_DIRS= share/groff/site-tmac
18 21
19USE_LANGUAGES= c c++ 22USE_LANGUAGES= c c++
20GNU_CONFIGURE= YES 23GNU_CONFIGURE= YES
21CONFIGURE_ENV+= PERLPATH=${PERL5:Q} 24CONFIGURE_ENV+= PERLPATH=${PERL5:Q}
22USE_TOOLS+= perl:run sed:run awk:run 25USE_TOOLS+= perl:run sed:run awk:run
23USE_FEATURES= getopt_long 26USE_FEATURES= getopt_long
24 27
@@ -54,27 +57,27 @@ CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q} @@ -54,27 +57,27 @@ CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q}
54CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 57CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
55.endif 58.endif
56 59
57# Usually the mdoc.local "volume-operating-system" definition is for 60# Usually the mdoc.local "volume-operating-system" definition is for
58# the operating system name often displayed on top of man pages. And 61# the operating system name often displayed on top of man pages. And
59# "operating-system" is for the default .Os value (operating system 62# "operating-system" is for the default .Os value (operating system
60# and version/release) and is usually displayed at bottom of man page. 63# and version/release) and is usually displayed at bottom of man page.
61# XXX Use "pkgsrc" as default .Os value. 64# XXX Use "pkgsrc" as default .Os value.
62# Also, avoid having pre-patched groff.info-2 installed (install uses wildcard) 65# Also, avoid having pre-patched groff.info-2 installed (install uses wildcard)
63post-patch: 66post-patch:
64 ${SED} -e "s,@@VOLUME_OPERATING_SYSTEM@@,${OPSYS},g" \ 67 ${SED} -e "s,@@VOLUME_OPERATING_SYSTEM@@,${OPSYS},g" \
65 -e "s,@@OPERATING_SYSTEM@@,pkgsrc,g" \ 68 -e "s,@@OPERATING_SYSTEM@@,pkgsrc,g" \
66 ${FILESDIR}/mdoc.local > ${WRKDIR}/mdoc.local 69 ${FILESDIR}/mdoc.local > ${WRKDIR}/mdoc.local
67 @${RM} ${WRKSRC}/doc/groff.info-2.orig 70 ${RM} ${WRKSRC}/doc/groff.info-2.orig
68 71
69# Groff installs its own man and ms macros as mgan and mgs if the 72# Groff installs its own man and ms macros as mgan and mgs if the
70# configure script thinks replacing the system ones is not safe. Since 73# configure script thinks replacing the system ones is not safe. Since
71# this depends heavily on exactly what the system macros are, each 74# this depends heavily on exactly what the system macros are, each
72# vendor OS is likely to be different and possibly differ by version. 75# vendor OS is likely to be different and possibly differ by version.
73# 76#
74# It also installs wrappers around the system macros for a variety of 77# It also installs wrappers around the system macros for a variety of
75# other traditional macro packages, if those macros don't have an FSF 78# other traditional macro packages, if those macros don't have an FSF
76# copyright. 79# copyright.
77 80
78post-install: 81post-install:
79 ${INSTALL_DATA} ${WRKDIR}/mdoc.local \ 82 ${INSTALL_DATA} ${WRKDIR}/mdoc.local \
80 ${DESTDIR}${PREFIX}/share/groff/site-tmac 83 ${DESTDIR}${PREFIX}/share/groff/site-tmac