- use DOCSDIR

- fix plist for -DNOPORTDOCS
- fix MASTER_SITES
- bump PORTREVISION

Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-17 21:30:49 +00:00
parent 8998cb5c9a
commit c5ad3aa489
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222990
2 changed files with 13 additions and 11 deletions

View file

@ -7,12 +7,13 @@
PORTNAME= lambdamoo
PORTVERSION= 1.8.1
PORTREVISION= 1
CATEGORIES= japanese net
MASTER_SITES= http://download.sourceforge.net/lambdamoo/ \
ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/
MASTER_SITES= SF\
ftp://ftp.leo.chubu.ac.jp/pub/network/mnews/:MN
DISTNAME= LambdaMOO-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
mnews122.tar.gz
mnews122.tar.gz:MN
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= flathill
@ -24,6 +25,7 @@ COMMENT= The most commonly used program to run MOOs
WRKSRC= ${WRKDIR}/MOO-${PORTVERSION}
GNU_CONFIGURE= yes
ALL_TARGET=
DOCSDIR= ${PREFIX}/share/doc/LambdaMOO
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin
@ -35,13 +37,13 @@ pre-build:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/LambdaMOO
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC};\
${INSTALL_MAN} Minimal.db README README.Minimal \
${PREFIX}/share/doc/LambdaMOO; \
${DOCSDIR}; \
)
@${INSTALL_DATA} ${FILESDIR}/README.FreeBSD \
${PREFIX}/share/doc/LambdaMOO
${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
sbin/moo
share/doc/LambdaMOO/Minimal.db
share/doc/LambdaMOO/README
share/doc/LambdaMOO/README.FreeBSD
share/doc/LambdaMOO/README.Minimal
@dirrm share/doc/LambdaMOO
%%PORTDOCS%%%%DOCSDIR%%/Minimal.db
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%%%DOCSDIR%%/README.Minimal
%%PORTDOCS%%@dirrm %%DOCSDIR%%