aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-04-08 00:59:43 +0800
committerglewis <glewis@FreeBSD.org>2005-04-08 00:59:43 +0800
commit6a13382ba82853fc2615293cb5a3e6776758a4cf (patch)
tree52298dd0ff5df22e70f24e446b45c4932308e5f2 /science
parent6cccc46212abb39d8ccbccca6d882cc4e11c251f (diff)
downloadfreebsd-ports-gnome-6a13382ba82853fc2615293cb5a3e6776758a4cf.tar.gz
freebsd-ports-gnome-6a13382ba82853fc2615293cb5a3e6776758a4cf.tar.zst
freebsd-ports-gnome-6a13382ba82853fc2615293cb5a3e6776758a4cf.zip
. Simplify how DISTFILES is constructed, which also makes portlint happy
since it now appears in the correct order.
Diffstat (limited to 'science')
-rw-r--r--science/hdf/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 72170443035d..8fef5d9144b5 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -13,14 +13,8 @@ MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF${PORTVERSION}/src/:src \
http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/:doc_szip
DISTNAME= HDF${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
- ${SZIP_DOCFILE}:doc_szip
-DOCFILES= HDF41r5_SpecDG.pdf \
- HDF42r0_RefMan.pdf \
- HDF42r0_UserGd.pdf
-SZIP_DOCFILE= SZIP_HDF4_2r1.pdf
-.for file in $(DOCFILES)
-DISTFILES+= ${file}:doc
-.endfor
+ ${SZIP_DOCFILE}:doc_szip \
+ ${DOCFILES:C/$/:doc/g}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= glewis@FreeBSD.org
@@ -36,6 +30,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-jpeg="${LOCALBASE}" \
--with-szlib="${LOCALBASE}"
USE_REINPLACE= yes
+DOCFILES= HDF41r5_SpecDG.pdf \
+ HDF42r0_RefMan.pdf \
+ HDF42r0_UserGd.pdf
+SZIP_DOCFILE= SZIP_HDF4_2r1.pdf
MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
MANCOMPRESSED= no