| @@ -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 | |
4 | DISTNAME= groff-1.20.1 | | 4 | DISTNAME= groff-1.20.1 |
5 | PKGREVISION= 7 | | 5 | PKGREVISION= 8 |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=groff/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=groff/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gnu.org/software/groff/groff.html | | 10 | HOMEPAGE= http://www.gnu.org/software/groff/groff.html |
11 | COMMENT= GNU roff text processing suite | | 11 | COMMENT= GNU roff text processing suite |
| | | 12 | LICENSE= gnu-gpl-v3 |
| | | 13 | |
| | | 14 | CONFLICTS= mdocml-[0-9]* ja-groff-[0-9]* |
12 | | | 15 | |
13 | CHECK_PERMS= NO | | 16 | CHECK_PERMS= NO |
14 | MAKE_JOBS_SAFE= NO | | 17 | MAKE_JOBS_SAFE= NO |
15 | | | 18 | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | | 19 | PKG_DESTDIR_SUPPORT= user-destdir |
17 | INSTALLATION_DIRS= share/groff/site-tmac | | 20 | INSTALLATION_DIRS= share/groff/site-tmac |
18 | | | 21 | |
19 | USE_LANGUAGES= c c++ | | 22 | USE_LANGUAGES= c c++ |
20 | GNU_CONFIGURE= YES | | 23 | GNU_CONFIGURE= YES |
21 | CONFIGURE_ENV+= PERLPATH=${PERL5:Q} | | 24 | CONFIGURE_ENV+= PERLPATH=${PERL5:Q} |
22 | USE_TOOLS+= perl:run sed:run awk:run | | 25 | USE_TOOLS+= perl:run sed:run awk:run |
23 | USE_FEATURES= getopt_long | | 26 | USE_FEATURES= getopt_long |
24 | | | 27 | |
| @@ -54,27 +57,27 @@ CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q} | | | @@ -54,27 +57,27 @@ CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q} |
54 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 | | 57 | CFLAGS.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) |
63 | post-patch: | | 66 | post-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 | |
78 | post-install: | | 81 | post-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 |