aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/lambdamoo
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-11-18 05:30:49 +0800
committeritetcu <itetcu@FreeBSD.org>2008-11-18 05:30:49 +0800
commit222af3dd3046eabcb238556ab7685c80374418c9 (patch)
tree829e6a9ecf56367eeaaae3181692b739be00b56a /japanese/lambdamoo
parent20843e8badb1e2ff564e9a34e8bd4f561f584254 (diff)
downloadfreebsd-ports-gnome-222af3dd3046eabcb238556ab7685c80374418c9.tar.gz
freebsd-ports-gnome-222af3dd3046eabcb238556ab7685c80374418c9.tar.zst
freebsd-ports-gnome-222af3dd3046eabcb238556ab7685c80374418c9.zip
- use DOCSDIR
- fix plist for -DNOPORTDOCS - fix MASTER_SITES - bump PORTREVISION Prompted by: QAT QA run
Diffstat (limited to 'japanese/lambdamoo')
-rw-r--r--japanese/lambdamoo/Makefile14
-rw-r--r--japanese/lambdamoo/pkg-plist10
2 files changed, 13 insertions, 11 deletions
diff --git a/japanese/lambdamoo/Makefile b/japanese/lambdamoo/Makefile
index 434a24c515b4..c22951413651 100644
--- a/japanese/lambdamoo/Makefile
+++ b/japanese/lambdamoo/Makefile
@@ -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>
diff --git a/japanese/lambdamoo/pkg-plist b/japanese/lambdamoo/pkg-plist
index 07a18553525b..2d54319c0297 100644
--- a/japanese/lambdamoo/pkg-plist
+++ b/japanese/lambdamoo/pkg-plist
@@ -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%%