Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.400 diff -u -r1.400 bsd.port.mk --- bsd.port.mk 24 Feb 2002 16:54:34 -0000 1.400 +++ bsd.port.mk 1 Mar 2002 14:56:29 -0000 @@ -327,6 +327,7 @@ # # Default targets and their behaviors: # +# distfiles-list - Show list of distfiles the port expects to see in ${DIST_SUBDIR} # fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) # into ${DISTDIR} as necessary. # fetch-list - Show list of files that would be retrieved by fetch. @@ -2706,6 +2707,18 @@ .if defined(DIST_SUBDIR) @${ECHO} "${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}" .endif +.endif + +# Prints out a list of files this port expects to see in in ${DIST_SUBDIR} + +.if !target(distfiles-list) +distfiles-list: + @for _file in ${DISTFILES} ${PATCH_FILES}; do \ + if [ ${DIST_SUBDIR} ]; then \ + echo -n ${DIST_SUBDIR}/ ; \ + fi ; \ + echo $$_file; \ + done .endif # Prints out a list of files to fetch (useful to do a batch fetch) Index: bsd.port.subdir.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.subdir.mk,v retrieving revision 1.41 diff -u -r1.41 bsd.port.subdir.mk --- bsd.port.subdir.mk 23 Dec 2001 11:11:40 -0000 1.41 +++ bsd.port.subdir.mk 1 Mar 2002 14:47:21 -0000 @@ -84,6 +84,7 @@ TARGETS+= depends TARGETS+= describe TARGETS+= distclean +TARGETS+= distfiles-list TARGETS+= extract TARGETS+= fetch TARGETS+= fetch-list