aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-09-09 21:45:08 +0800
committergahr <gahr@FreeBSD.org>2008-09-09 21:45:08 +0800
commit458d783d6548cfbed88462989bb2d52c927e6795 (patch)
tree56ed897a8013a17194481e9a2f47b0cbb1b47bf0
parentbe0d96bb04a6d2ed7280c1c856ba86187f3c8440 (diff)
downloadfreebsd-ports-gnome-458d783d6548cfbed88462989bb2d52c927e6795.tar.gz
freebsd-ports-gnome-458d783d6548cfbed88462989bb2d52c927e6795.tar.zst
freebsd-ports-gnome-458d783d6548cfbed88462989bb2d52c927e6795.zip
- Respect PORTDOCS/DOCSDIR
Reported by: QA Tindie Approved by: portmgr
-rw-r--r--net/lambdamoo/Makefile10
-rw-r--r--net/lambdamoo/pkg-plist6
2 files changed, 7 insertions, 9 deletions
diff --git a/net/lambdamoo/Makefile b/net/lambdamoo/Makefile
index f56b72b7650c..168cb6a6b01f 100644
--- a/net/lambdamoo/Makefile
+++ b/net/lambdamoo/Makefile
@@ -22,18 +22,22 @@ ALL_TARGET=
CONFIGURE_ENV= YACC=${YACC}
USE_BISON= build
+PLIST_FILES= sbin/moo
+
+PORTDOCS= *
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin
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/net/lambdamoo/pkg-plist b/net/lambdamoo/pkg-plist
deleted file mode 100644
index 07a18553525b..000000000000
--- a/net/lambdamoo/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-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