1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

let it build from read-only media

let distribution patches be gathered in a subdirectory of ${DISTFILES} when
  support for this becomes available in bsd.port.mk
minor tidyup
This commit is contained in:
Adam David 1995-05-04 18:48:06 +00:00
parent a9a7439561
commit c3f02fd49c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1609

View File

@ -9,20 +9,21 @@ DISTFILES= ${DISTNAME}.tar.gz
PATCHFILES= 1.0.9-1.0.9.1.gz
MASTER_SITES= epsilon.me.chalmers.se:
PATCH_SITES= epsilon.me.chalmers.se:patches/
NCFTP= env DOTDIR=${.CURDIR} ncftp
NCFTPFLAGS= -V2
NCFTP= env DOTDIR=${WRKDIR} ncftp
NCFTPFLAGS=
CATEGORIES= networking languages
MAINTAINER= adam@veda.is
.if ${PATCHFILES} != ""
PATCH_PRFX= ${DISTNAME}/
PATCHLEVEL!= echo ${PATCHFILES} | sed 's/^.*\.\(.*\)\.gz$$/\1/'
PKGNAME= ${DISTNAME}.${PATCHLEVEL}
.endif
WRKSRC= ${WRKDIR}/dgd/src
pre-fetch:
@ln -f ncftprc .ncftprc
@ln -fs ${.CURDIR}/ncftprc ${WRKDIR}/.ncftprc
pre-patch:
@ln -fs .. ${WRKSRC}/dgd