Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

26
mk/fetch/distclean.mk Normal file
View File

@@ -0,0 +1,26 @@
# $NetBSD: distclean.mk,v 1.5 2007/12/16 02:51:24 obache Exp $
#
# === make targets for pkgsrc users ===
#
# distclean:
# Removes the distfiles of the current package.
#
.PHONY: pre-distclean
.if !target(pre-distclean)
pre-distclean:
@${DO_NADA}
.endif
.PHONY: distclean
.if !target(distclean)
distclean: pre-distclean clean
@${PHASE_MSG} "Dist cleaning for ${PKGNAME}"
${RUN} [ -d ${_DISTDIR} ] || exit 0; \
cd ${_DISTDIR}; \
${RM} -f ${ALLFILES} ${ALLFILES:S/$/.pkgsrc.resume/}
. if defined(DIST_SUBDIR)
${RUN} ${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}
. endif
${RUN} ${RM} -f README.html
.endif