Add a DIST_SUBDIR so the index.shtml file doesn't end up in ports/distfiles.

Submitted by:	roam
This commit is contained in:
George C A Reid 2001-06-17 10:26:04 +00:00
parent 3eab80a70e
commit bbb3687d72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44096
2 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,9 @@
PORTNAME= spambnc
PORTVERSION= 20010514
CATEGORIES= mail
MASTER_SITES= ftp://ftp.spambouncer.org/
MASTER_SITES= http://www.spambouncer.org/
DISTFILES= sb.tar.Z index.shtml
DIST_SUBDIR= spambnc
EXTRACT_ONLY= sb.tar.Z
MAINTAINER= greid@FreeBSD.org
@ -42,7 +43,8 @@ do-install:
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/spambnc/
${INSTALL_DATA} ${DISTDIR}/index.shtml ${PREFIX}/share/doc/spambnc/documentation.html
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
${PREFIX}/share/doc/spambnc/documentation.html
.endif
post-install:

View File

@ -1,2 +1,2 @@
MD5 (sb.tar.Z) = 8d6d501af83080f532016fd0cf384287
MD5 (index.shtml) = IGNORE
MD5 (spambnc/sb.tar.Z) = 8d6d501af83080f532016fd0cf384287
MD5 (spambnc/index.shtml) = IGNORE