aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-17 21:30:49 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-17 21:30:49 +0000
commitc5ad3aa4892bd20fc5ea917bb8f50fbb2bf42013 (patch)
tree556fe219a43ccfc8f4da7d27abeccd00a43a6bbc
parent8998cb5c9a7acf7579e5acba8fd8e208d22a16c8 (diff)
downloadports-c5ad3aa4892bd20fc5ea917bb8f50fbb2bf42013.tar.gz
ports-c5ad3aa4892bd20fc5ea917bb8f50fbb2bf42013.zip
Notes
-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%%