diff options
author | joerg <joerg@FreeBSD.org> | 2002-09-02 03:46:49 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2002-09-02 03:46:49 +0800 |
commit | 65efea02e73509971f68eff27986d09b683eb6b5 (patch) | |
tree | 4e143e06ad4a5d022d286adcc48d2f77997e1290 /devel/avr-gcc-3 | |
parent | 60c1b8530a78bfa1385df4ea8f05b62cd17347f3 (diff) | |
download | freebsd-ports-gnome-65efea02e73509971f68eff27986d09b683eb6b5.tar.gz freebsd-ports-gnome-65efea02e73509971f68eff27986d09b683eb6b5.tar.zst freebsd-ports-gnome-65efea02e73509971f68eff27986d09b683eb6b5.zip |
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.
Diffstat (limited to 'devel/avr-gcc-3')
-rw-r--r-- | devel/avr-gcc-3/Makefile | 19 | ||||
-rw-r--r-- | devel/avr-gcc-3/distinfo | 1 |
2 files changed, 18 insertions, 2 deletions
diff --git a/devel/avr-gcc-3/Makefile b/devel/avr-gcc-3/Makefile index 121e41108afc..2f63c3c53b0d 100644 --- a/devel/avr-gcc-3/Makefile +++ b/devel/avr-gcc-3/Makefile @@ -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> diff --git a/devel/avr-gcc-3/distinfo b/devel/avr-gcc-3/distinfo index b657aec104bd..d7c10e6f6ed8 100644 --- a/devel/avr-gcc-3/distinfo +++ b/devel/avr-gcc-3/distinfo @@ -1 +1,2 @@ MD5 (gcc-core+g++-3.3.2002.09.01.tar.bz2) = 6424c3b48736fc0c126374bc44cbbe57 +MD5 (gcc-man.2002.09.01.gz) = 6712fd9a90730fda4d4ae483037731e0 |