1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fix the documentation build process. We need to depend it on perl.

Since the system's perl in -stable is too old (pod2man), we supply
pregenerated man pages in a separate distfile to help them out.
This commit is contained in:
Joerg Wunsch 2002-09-01 19:46:49 +00:00
parent b4ffb3c7ed
commit 4302aff0b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65446
4 changed files with 36 additions and 4 deletions

View File

@ -13,13 +13,16 @@ CATEGORIES= devel
#MASTER_SITES= ftp://gcc.gnu.org/pub/gcc/snapshots/${PORTVERSION}/
MASTER_SITES= http://people.freebsd.org/~joerg/
PKGNAMEPREFIX= avr-
DISTFILES= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX}
DISTFILES= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX} \
${MAN_AUX}
EXTRACT_ONLY= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= joerg@freebsd.org
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils \
autoheader:${PORTSDIR}/devel/autoconf
autoheader:${PORTSDIR}/devel/autoconf \
perl:${PORTSDIR}/lang/perl5
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils
@ -34,9 +37,21 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr
MAN_AUX= gcc-man.2002.09.01.gz
MAKE_FLAGS= LANGUAGES="c c++"
MAN1= cpp.1 avr-gcc.1 avr-g++.1 gcov.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
# Since the pod2man in FreeBSD 4-stable's /usr/bin cannot be used, we
# help out by extracting precompiled manpages there.
pre-build:
if perl -e 'use 1.10 Pod::Man' >/dev/null 2>/dev/null ; \
then : ; \
else \
cd ${WRKDIR}/gcc-${PORTVERSION} ; \
${TAR} -xvzf ${DISTDIR}/${MAN_AUX} ; \
fi
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (gcc-core+g++-3.3.2002.09.01.tar.bz2) = 6424c3b48736fc0c126374bc44cbbe57
MD5 (gcc-man.2002.09.01.gz) = 6712fd9a90730fda4d4ae483037731e0

View File

@ -13,13 +13,16 @@ CATEGORIES= devel
#MASTER_SITES= ftp://gcc.gnu.org/pub/gcc/snapshots/${PORTVERSION}/
MASTER_SITES= http://people.freebsd.org/~joerg/
PKGNAMEPREFIX= avr-
DISTFILES= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX}
DISTFILES= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX} \
${MAN_AUX}
EXTRACT_ONLY= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= joerg@freebsd.org
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils \
autoheader:${PORTSDIR}/devel/autoconf
autoheader:${PORTSDIR}/devel/autoconf \
perl:${PORTSDIR}/lang/perl5
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils
@ -34,9 +37,21 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr
MAN_AUX= gcc-man.2002.09.01.gz
MAKE_FLAGS= LANGUAGES="c c++"
MAN1= cpp.1 avr-gcc.1 avr-g++.1 gcov.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
# Since the pod2man in FreeBSD 4-stable's /usr/bin cannot be used, we
# help out by extracting precompiled manpages there.
pre-build:
if perl -e 'use 1.10 Pod::Man' >/dev/null 2>/dev/null ; \
then : ; \
else \
cd ${WRKDIR}/gcc-${PORTVERSION} ; \
${TAR} -xvzf ${DISTDIR}/${MAN_AUX} ; \
fi
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (gcc-core+g++-3.3.2002.09.01.tar.bz2) = 6424c3b48736fc0c126374bc44cbbe57
MD5 (gcc-man.2002.09.01.gz) = 6712fd9a90730fda4d4ae483037731e0